Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Raúl 7 posts 77 karma points
    Jan 17, 2017 @ 16:57
    Raúl
    0

    NewsletterStudio: Custom Field [email] into link URL

    Hi,

    I am trying to insert the subscribers email into a link URL of a Newsletter Studio Template, this way:

    LinkText

    But when I send the campaign mail the result is the text "someURL?email=[email]", without the substitution of the subscriber mail address so the final link goes to:

    http://someURL?email=[email]

    and I need to obtain the next result:

    http://[email protected]

    Is it possible to insert that email custom Field into the newsletter studio link URLs.

    Thanks in advance!

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Jan 23, 2017 @ 21:04
    Markus Johansson
    0

    Hi!

    Hmm.. [email] should be replaced with the receivers e-mail. Do you have all the render tasks set up in /config/newsletterStudio.config?

    Do you send to Umbraco members? If that's the case you can use merge fields from custom properties on the member.

    Please have a look here: http://support.newsletterstudio.org/customer/portal/articles/2115462

  • Raúl 7 posts 77 karma points
    Jan 24, 2017 @ 09:01
    Raúl
    0

    Hi!

    This exactly campaign is not for current application members, so I can't use those member properties. It's a pitty...

    The render tasks I have configured are the next ones:

    <task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />
          <task name="FitIntoTemplateRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />
          <task name="RenderUrlRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />
          <task name="ReplaceUnsubscribeRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />
          <task name="ReadOnlineRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />
          <task name="ReplaceLocalLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />
          <task name="AddFullDomainToRelativeSrcsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />
          <task name="ReplaceRelativeLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />
          <task name="GoogleAnalyticsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />
          <task name="AddClickTagsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />
          <task name="ReplaceUniqMergeFieldsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />
          <task name="InsertCustomDataRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.InsertCustomDataRenderTask, NewsletterStudio" />
    

    I don't know if that tasks are enought and the link should work. I have set the [email] param out of the link "href" attribute and it works fine, but it is still does not working into the "href" attribute.

    Thanks a lot for your response!

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Jan 24, 2017 @ 12:29
    Markus Johansson
    0

    Hi!

    That should work - are you sure that the editor don't change the [ and ] to some html-escpaded thing?

  • Raúl 7 posts 77 karma points
    Mar 13, 2017 @ 11:40
    Raúl
    0

    Hi, we tested a lot of different options and no results. We used html-entities, just the email, and html-escaped, and nothing... :(

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Mar 13, 2017 @ 12:37
    Markus Johansson
    0

    Hi!

    What version of the package are you running? Does other tracking work? Ie. click tracking etc?

  • Raúl 7 posts 77 karma points
    Mar 13, 2017 @ 12:49
    Raúl
    0

    Hi! No click tracking right now.

    The version is 2.1.4 for Newsletter Studio.

    Thanks!

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Mar 13, 2017 @ 16:17
    Markus Johansson
    0

    Hi!

    Can you share your render task configuration?

    Edit: Found in /condig/newsletterStudio.config

    / m

  • Nandoh 32 posts 104 karma points
    May 23, 2018 @ 16:24
    Nandoh
    0

    Hi Markus,

    Today I'm trying the same as Raul and in fact when I insert something like 'http://someURL?email=[email]' in the newsletter content, it seems to work in the Preview mode as it changes to 'http://[email protected]' but then when I select the Send email right now and I receive the email, it comes as 'http://someURL?email=[email]' :(

    I have all the rendering tasks that you have here https://www.newsletterstudio.org/help/configure-newsletter-studio/default-newsletterstudioconfig/

    Any ideas? =\

    The NS version is 2.1.7

  • horsted 74 posts 136 karma points
    Feb 02, 2021 @ 15:02
    horsted
    0

    Hi all,

    Did any of you figure this out, as i'm having the same problem and have a big sendout where i need to include [email] in a link/href tommorow :-/

    Any help would be much appriciated - TIA!

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Feb 02, 2021 @ 15:04
    Markus Johansson
    1

    Hi horsted!

    What version of Newsletter Studio are you using?

    A assume you have tried including the email in the link with the same result as ie. Nandoh?

    // m

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Feb 02, 2021 @ 15:18
    Markus Johansson
    1

    Update:

    I just tried to replicate this issue on Newsletter Studio 2.1.9.8 but in my tests the email get's replaced.

    The content of the email is very simple:

    <h1>Hallo!</h1><p>Trying to use email in this <a href="https://www.enkelmedia.se/?email=[email]">link</a>, see if it works.</p>
    <p>[email]</p>
    

    I tried both sending from the Newsletter-section and from the content section.

    Latest version can be downloaded here: https://our.umbraco.com/packages/backoffice-extensions/newsletter-studio-the-email-studio/

  • horsted 74 posts 136 karma points
    Feb 02, 2021 @ 15:32
    horsted
    0

    Hi Markus,

    Thanks alot for yor reply - i'm using 2.1.0. I'm not a strong backend coder and we use Newsletter Studio alot, so i'm a bit hesitant to upgrade, as we har some custom code and subscription providers...

    Our config looks like this...

    <?xml version="1.0" encoding="utf-8"?>
    <newsletterStudio senderDefaultName="Business Kolding" senderDefaultEmail="[email protected]"
       senderDefaultSettingsForced="false" unsubscribeConfirmUrl=""
       tinyMCEDataTypeId="1052" sendFailuresBeforeUnsubscribingSubscriber="4"
       settingsOnlyForAdmins="false" allowUseOfSendOutPropertyEditorWithoutApplicationAccess="true"
       forceUnsubscribeFooter="false" activateCustomDataCollection="false"
       enableGoogleAnalyticsTracking="false" googleAnalyticsMedium="email"
       allowedTemplatesForRenderUrl="" googleAnalyticsSource="NewsletterStudio"
       googleAnalyticsName="" googleAnalyticsContent="" lastInstalledVersion="2.1.0">
       <outgoingEmail sendConnectionTestEmailsTo="[email protected]"
          throttlingEnabled="false" throttlingMessagesPerBatch="100"
          throttlingSecondsBetweenBatches="0" messagesBeforeJumpingToNextServer="250">
          <smtpServers>
             <clear />
             <add name="massmail.scannet.dk" host="massmail.scannet.dk" port="25"
                username="..." password="..."
                enableSsl="false" />
          </smtpServers>
       </outgoingEmail>
       <bounceManagement enabled="false" email="" host="" port="0" username=""
          password="" />
       <emailRenderingTasks>
          <clear />
          <task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />
          <task name="FitIntoTemplateRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />
          <task name="RenderUrlRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />
          <task name="ReplaceUnsubscribeRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />
          <task name="ReadOnlineRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />
          <task name="ReplaceLocalLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />
          <task name="AddFullDomainToRelativeSrcsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />
          <task name="ReplaceRelativeLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />
          <task name="GoogleAnalyticsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />
          <task name="AddClickTagsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />
          <task name="ReplaceUniqMergeFieldsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />
          <task name="InsertCustomDataRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.InsertCustomDataRenderTask, NewsletterStudio" />
       </emailRenderingTasks>
       <subscriptionProviders>
          <clear />
          <provider name="NewsletterStudioSubscriptionProvider" type="NewsletterStudio.Bll.Providers.NewsletterStudioSubscriptionProvider, NewsletterStudio" />
          <provider name="DownloadSubscriptionProvider" type="WebCrmSubscriptionProvider.SubscriptionProviders.DownloadSubscriptionProvider, WebCrmSubscriptionProvider" />
          <provider name="EventMailSubscriptionProvider" type="EventMailSubscriptionProvider.EventMailSubscriptionProvider, EventMailSubscriptionProvider" />
       </subscriptionProviders>
    </newsletterStudio> 
    

    When upgrading will I just have to add the subscriptionProviders again? Will all Setting, skins, stats and newsletter be intact etc? Is it possible to rollback if it doesn't work?

    Thanks, Casper

  • Markus Johansson 1915 posts 5762 karma points MVP c-trib
    Feb 02, 2021 @ 16:09
    Markus Johansson
    0

    Hi!

    I guess that your issue is that you're on a quite old version that does not have this fix.

    I would strongly recommend upgrading in a development environment first and make sure to have propert backups of both database and files before performing a upgrade of the production system. Things should be intact and your subscription provider should still work but one have to test the upgrade to know for sure.

    Some more info: https://www.newsletterstudio.org/help/upgrading/upgrading-newsletter-studio/

  • horsted 74 posts 136 karma points
    Feb 02, 2021 @ 16:15
    horsted
    0

    Unfortunately I don't have the option of testing it out in a dev environment first, but I can restore the files, so I'll give it a go 🤞

    Last question - will upgrading make database changes to the NS tables?

    Thanks again and have a nice evening :-)

Please Sign in or register to post replies

Write your reply to:

Draft