Expand my Community achievements bar.

SOLVED

Adobe Campaign Classic - Appending Recipient ID to Email Links

Avatar

Level 1

Hi,

 

I'm trying to figure out how I can append the Recipient ID to all click out links of my emails, similar to setting up UTM tracking for Google Analytics.

 

Is this possible?

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @twilliams629 ,

 

You can append recipient ID to your URL using the JS syntax. For example, I have set recipient id to an a tag URL as 

<a href="www.google.com/<%= recipient.id %>"> Test </a>

Hope it helps.

View solution in original post

5 Replies

Avatar

Correct answer by
Level 4

Hi @twilliams629 ,

 

You can append recipient ID to your URL using the JS syntax. For example, I have set recipient id to an a tag URL as 

<a href="www.google.com/<%= recipient.id %>"> Test </a>

Hope it helps.

Avatar

Level 1

hi @Krishnanunni so if this is a link i set up in my HTML file 

 

<a target="_new" href="https://www.google.com/?utm_source=newsletter&amp;utm_medium=Email" style="text-decoration: none; color: #707173;"> WHAT'S NEW </a> </p>

 

How would I update so that my link looks like this (let's say my recipient id in adobe is XYZ123)?

 

google.com/utm_source=newsletter&utm_medium=Email&recipientid=XYZ123

Avatar

Level 4
Hi @twilliams629, You can setup the URL as <a target="_new" href="https://www.google.com/?utm_source=newsletter&utm_medium=Email&recipientid=<%= recipient.id %>" style="text-decoration: none; color: #707173;"> WHAT'S NEW </a> </p></BODY></HTML>

Avatar

Community Advisor

You might want to check the following post which contains guide on how to change tracking urls which would append your recipient id on all track links

 

The tracked URLs are listed in the central window in tree form.

You can activate or deactivate tracking individually for each URL of the message. For more on this, refer to this section.

The Advanced tab lets you personalize the calculation formulas of the tracked URLs and the opening URL.

 

David__Garcia_1-1627776268108.png

 

 

Links:

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/modify-tracking-ur...

https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/tracking-messages/ho...

https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/tracking-messages/pe...

https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/tracking-messages/tr...