Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to insert the subscribers email into a link URL of a Newsletter Studio Template, this way:
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:
and I need to obtain the next result:
Is it possible to insert that email custom Field into the newsletter studio link URLs.
Thanks in advance!
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
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!
That should work - are you sure that the editor don't change the [ and ] to some html-escpaded thing?
we tested a lot of different options and no results. We used html-entities, just the email, and html-escaped, and nothing... :(
What version of the package are you running? Does other tracking work? Ie. click tracking etc?
No click tracking right now.
The version is 2.1.4 for Newsletter Studio.
Can you share your render task configuration?
Edit: Found in /condig/newsletterStudio.config
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://someURLfirstname.lastname@example.org' 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
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted