Track Personalization link from AJO In CJA | Community
Skip to main content
Level 2
July 22, 2025
Solved

Track Personalization link from AJO In CJA

  • July 22, 2025
  • 3 replies
  • 579 views

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

Best answer by Mayank_Gandhi

@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. 

3 replies

Anuhya-Y
Community Advisor
Community Advisor
July 22, 2025

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

TheFinderAuthor
Level 2
July 22, 2025

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

Anuhya-Y
Community Advisor
Community Advisor
July 22, 2025

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

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
July 22, 2025

@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. 

TheFinderAuthor
Level 2
July 22, 2025

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.

Mayank_Gandhi
Adobe Employee
Adobe Employee
July 25, 2025

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

Michael_Soprano
Level 10
August 31, 2025

Out of curiosity what is your business use-case?

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

TheFinderAuthor
Level 2
August 31, 2025

Hey michael,

 

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