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://someURL?email=myaddress@email.com

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

    Thanks in advance!

  • Markus Johansson 1603 posts 4505 karma points
    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 1603 posts 4505 karma points
    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 1603 posts 4505 karma points
    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 1603 posts 4505 karma points
    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://someURL?email=email@example.com' 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

Please Sign in or register to post replies

Write your reply to:

Draft