Analytics connector does not apply on dynamic links
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:
- Change the script to look for patterns that looks like https://<%=targetData.xxx%> as well and then apply the parameters.
- 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?
- Any other ideas??
Dynamic link:

Analytics Connector:
