Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

New Acquisition Marketing Links for Apps

Avatar

Level 3

With the new format of an Acquisition Marketing Link, how can we dynamically add a tracking code so it's visible as the a.referrer.campaign.trackingcode in the First Launch lifecycle call?

This is the current format:
https://c00.adobe.com/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/start?a_dl=xxxxxxxxxxxxxxxxxxxxxxxxx

Is there for example a way to add a parameter to that URL with a tracking code or other custom context data?

It used to be possible with older links. E.g.:

https://c00.adobe.com/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/start?a_i_id=xxxxxxx&a_i_lo=be&a_g_id=xxxxxxx&a_g_lo=nl&a_dd=i&ctxa.referrer.campaign.trackingcode=sample_tracking_code&ctxa.referrer.campaign.name=sample_tracking_name

Is that format going to work properly in the future as well?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Lukasz,

You can append custom context data following the old format with the prefix 'ctx', e.g.:

https://c00.adobe.com/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/start?a_dl=xxxxxxxxxxxxxxxxxxxxxxxxx&ctxcustom.context.data=something

But it is impossible to dynamically change the tracking code, campaign.name/term/content/source/medium or any other context data that was defined when the marketing link being created. Dynamically changing the tracking code has implications on the validity of the reporting for a marketing link, this is one of the reason why it is now allowed. If you want to use a different tracking code, currently the only way is to create a new marketing link.

Please file a feature request through client care https://helpx.adobe.com/marketing-cloud/contact-support.html if you really need this ability.

 

Jiabin Geng

Mobile Engineer

[Adobe Marketing Cloud](http://www.adobe.com/solutions/digital-marketing.html)

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

Hi Lukasz,

You can append custom context data following the old format with the prefix 'ctx', e.g.:

https://c00.adobe.com/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/start?a_dl=xxxxxxxxxxxxxxxxxxxxxxxxx&ctxcustom.context.data=something

But it is impossible to dynamically change the tracking code, campaign.name/term/content/source/medium or any other context data that was defined when the marketing link being created. Dynamically changing the tracking code has implications on the validity of the reporting for a marketing link, this is one of the reason why it is now allowed. If you want to use a different tracking code, currently the only way is to create a new marketing link.

Please file a feature request through client care https://helpx.adobe.com/marketing-cloud/contact-support.html if you really need this ability.

 

Jiabin Geng

Mobile Engineer

[Adobe Marketing Cloud](http://www.adobe.com/solutions/digital-marketing.html)

Avatar

Level 3

Hi Jiabin,

Thank you for your answer. In that case, my solution would be to use that custom context data (ctxcustom.context.data=something) and set two processing rules:

  • if custom.context.data exists, use its value to overwrite a.referrer.campaign.name(Context Data)
  • if custom.context.data exists, use its value to overwrite a.referrer.campaign.trackingcode(Context Data)

Will that work properly?

Best regards,

Lukasz Urban

Avatar

Employee

Hi Lukasz,

Yes, it will work. But as I said before, it will bring some implications on the validity of the reporting for a marketing link. To be more specific, I believe the Link Reports in UI will still work properly, but the Clicks and First Launches count in Marketing Link Builder will no longer be accurate.

So for now I think this is the only way you can dynamically change the a.referrer.campaign.* context data, even though it is not something we recommend. I'd still suggest you to submit a feature request to us about the problem you are facing and any of your thoughts about it, and we will see what we can do with it to make the creation of massive marketing link more easier in our UI.

 

Jiabin Geng

Mobile Engineer

[Adobe Marketing Cloud](http://www.adobe.com/solutions/digital-marketing.html)

Avatar

Level 3

Hi Jiabin,

OK. Should I just create a regular ticket through client care or is there a specific place for requesting new features (I couldn't find it under the link you provided: https://helpx.adobe.com/marketing-cloud/contact-support.html)? I think once in the past I saw a place for requesting features it but I cannot find it now.

Best regards,

Lukasz Urban