Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Track Personalization link from AJO In CJA

Avatar

Level 1

HI all,

I recently came across a issue in AJO mail where if I use contextual or personalization attributes in the url link. I was unable to track the click events in cja?.

In some way, the ajo is not recognizing that as a link.

Is there a way to force say the link to be tracked? or any alternative?

Link to track - https://{{variable1}}/ test/{{variable2}}

I found this document - https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-23027

Let me know of any leads.

I doubt If I use this way https://Test/{{variable1}}/ test/{{variable2}} this will work. But need to try

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@TheFinder  Tracking only works if you hardcode https://yourdomain.com and personalize the path/params. Example:

<a href="https://yourdomain.com/{%= dynamicPath %}">Click here</a>

AJO will only enable automatic link tracking if the link’s protocol (https:// or http://) and domain (FQDN) are hardcoded in the template. 

View solution in original post

8 Replies

Avatar

Community Advisor

@TheFinder have you tried replacing the dynamic/variable part of url via the event attribute?

Avatar

Level 1

Yes, Even after replacing the variables with event/ contextual attributes.  That did not work.

Avatar

Community Advisor

@TheFinder try to use event data of profile attributes section to fill dynamic part, do not use contextual attributes.

Avatar

Correct answer by
Employee Advisor

@TheFinder  Tracking only works if you hardcode https://yourdomain.com and personalize the path/params. Example:

<a href="https://yourdomain.com/{%= dynamicPath %}">Click here</a>

AJO will only enable automatic link tracking if the link’s protocol (https:// or http://) and domain (FQDN) are hardcoded in the template. 

Avatar

Level 1

I think you were right @Mayank_Gandhi.

But what might be the best workaround if we are getting the domain names dynamically too to track click events in CJA?.

1. One way is to track in Adobe Analytics and send data to AEP/CJA.

Avatar

Employee Advisor

From AJO if the domain is dynamic i dont think it will show in cja

Avatar

Level 10

Out of curiosity what is your business use-case?

You drive traffic to different business lines?? (thats why different domains?)

Avatar

Level 1

Hey michael,

 

yes, we have different clients who have custom urls we need to embed in our mails.