How to Track Campaign ID for the Question Mark(?) URLs | Community
Skip to main content
Level 4
May 15, 2017
Solved

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

  • May 15, 2017
  • 3 replies
  • 2000 views

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

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 Løjmann

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

3 replies

Løjmann
LøjmannAccepted solution
Level 5
May 15, 2017

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

Level 4
May 16, 2017

Thanks Lajmann.

This is what exactly I am looking for.

Thanks you so much for this detail.

Regards,
Vijay

Løjmann
Level 5
May 16, 2017

Perfect! Glad I could help you :)

/Løjmann