Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

How to Track Campaign ID for the Question Mark(?) URLs

Avatar

Level 5

Dear All,

It was a funny question, but not sure how this helps for me.

Suppose, If I have this webpage URL called (http://xyz.com/abc.html?pdf=true).

Can someone help me on how to add Campaign code (?CID) parameter for this URL to track the visits.

Appreciate you help!

Thanks,
Vijay

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi Vijay,

http://xyz.com/abc.html?pdf=true&cid=what-ever-value-you-want-to-track is that what you are looking for?

Adobe DTM has a build in function to get the campaign variable. If you do not use DTM, look at https://marketing.adobe.com/resources/help/en_US/sc/implement/util_getqueryparam.html (for AppMeasurement.js) or https://marketing.adobe.com/resources/help/en_US/sc/implement/getQueryParam.html (for s_code.js)

/Løjmann

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

Hi Vijay,

http://xyz.com/abc.html?pdf=true&cid=what-ever-value-you-want-to-track is that what you are looking for?

Adobe DTM has a build in function to get the campaign variable. If you do not use DTM, look at https://marketing.adobe.com/resources/help/en_US/sc/implement/util_getqueryparam.html (for AppMeasurement.js) or https://marketing.adobe.com/resources/help/en_US/sc/implement/getQueryParam.html (for s_code.js)

/Løjmann

Avatar

Level 5

Thanks Lajmann.

This is what exactly I am looking for.

Thanks you so much for this detail.

Regards,
Vijay

Avatar

Level 5

Perfect! Glad I could help you :)

/Løjmann