Expand my Community achievements bar.

SOLVED

How to add Tracking Parameters to Links in Email Delivery

Avatar

Level 7

Hello Folks,

We have an Email Delivery Template, where content is coming from AEM. I want to append a tracking parameter at the end of URL. However since content is dynamic and gets synced from AEM during delivery analysis / run-time, is there any way to add this parameter dynamically from campaign without any change from AEM?

Assume this is how final URL looks like, https://www.google.com/service/documentRedirect?id=abc47897-54834e7nfkd&utm_medium=cn

where the,

first part (green colored) is coming from Campaign data schema with use of scriptlet <%= targetData.url %>

second part (red colored) is populated from AEM Component dynamically (during run-time sync of content)

third part (blue colored) i need to append at the end.

PS: Once we sync an AEM template in Campaign Delivery, we cannot edit the HTML source. I understood that this can be done by adding a placeholder in AEM HTML page itself, but trying if it is possible from campaign.

Let me know pointers / inputs on this. Quick help is appreciated

Regards,

Sri Bhargav

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Append it as part of the first part, ?utm_medium=cn&id=

Thanks,

-Jon

View solution in original post

4 Replies

Avatar

Level 7

Folks, could some one please respond on this query?

Regards,

Sri Bhargav

Avatar

Level 4
Can you try creating a content block for this?

Avatar

Correct answer by
Community Advisor

Hi,

Append it as part of the first part, ?utm_medium=cn&id=

Thanks,

-Jon