Analytics connector does not apply on dynamic links | Community
Skip to main content
Level 4
September 15, 2023
Solved

Analytics connector does not apply on dynamic links

  • September 15, 2023
  • 2 replies
  • 812 views

Hi Community! 

We are facing a challenge where it seems that when we are using dynamic links in emails, the analytics connector (more accurately the JS script in the integration) does not apply the necessary URL parameters for us to track the incoming channel in Analytics. 

I am thinking about ways to fix this, but not sure which approach would be optimal or if there are any other ways of doing so. Hoping to get some sparring here! 

I am currently considering 2 possible solutions: 

 

  1. Change the script to look for patterns that looks like https://<%=targetData.xxx%> as well and then apply the parameters.
  2. Somehow change the order of when the analytics connector is reviewing the email, so that the dynamic link is resolved before it looks for the pattern and applies the parameters - Just not sure if this is possible?
  3. Any other ideas?? 

 

Dynamic link: 

 

Analytics Connector: 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Marcel_Szimonisz

Hello @sorendp ,

The option number 2 is the way!

Using dynamic links as you are is not recommended due to:

  • are not properly tracked, bacause e.g. you cannot see diferrence between amongarticle clicks.
  • introducing new security gaps and more. You can read about it in the documentation

 

The dynamic links should be resolved prior personalization takes place using adobe's feature called pre-processing instructions

 

You can read article how to implement dynamic link tracking  with pre-processing feature.

 

Marcel Szimonisz

MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/

2 replies

DavidKangni
Community Advisor
Community Advisor
September 18, 2023

Hi @sorendp ,

 

As you can see in your Analytics connector, the formula is looking for a pattern to append the additional tracking parameters. 

you need to add targetData in the regex creating the pattern.

 

Thanks,

David

David Kangni
Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
September 18, 2023

Hello @sorendp ,

The option number 2 is the way!

Using dynamic links as you are is not recommended due to:

  • are not properly tracked, bacause e.g. you cannot see diferrence between amongarticle clicks.
  • introducing new security gaps and more. You can read about it in the documentation

 

The dynamic links should be resolved prior personalization takes place using adobe's feature called pre-processing instructions

 

You can read article how to implement dynamic link tracking  with pre-processing feature.

 

Marcel Szimonisz

MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/