Expand my Community achievements bar.

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 6

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 6

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 6

Perfect! Glad I could help you :)

/Løjmann