Campaign tracking with mutiple ? in url | Community
Skip to main content
pawełp56255812
Level 2
October 16, 2015
Solved

Campaign tracking with mutiple ? in url

  • October 16, 2015
  • 12 replies
  • 10035 views

Hi Team,

I have a question regarding campaign tracking. I'm using the ?s_cid=(campaign tag) code at the end of the url that leads to my website from specific campaigns. It works perfectly. But I have a problem with certain pages. Some of them already have ?lpi=13124311241 (some random numbers) or ?p_pubid=1074067692810&gclid=CIyb - It's a CMS thingy :)
So my question is how to track those urls (ie. www.abc.de?lpi=1234567) because puting ?c_cid= affter doesn't work. Should I exchange ? with & in such cases?

Br.

PP

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 Harsh_Kabra

Hi Pawel,

Before I answer your question, it is important to understand how Adobe Analytics capture the campaign tracking code. In Adobe Analytics, Campaign tracking is handled by a plug-in called "getQueryParam". I believe that you have already configured this plugin with "s_cid" to track your campaign tracking code.

Now to answer your question, the solution lies in the way java script reads a query String Parameter (QSP). In case of multiple QSP, I don't see any challenge in using the "&" instead of "?". The following example explains it better:

www.abc.de?lpi=12345&s_cid=<Campaign Tracking Code>

Hope this helps and don't forget to like it!

Regards,

Harsh Kabra |  Adobe Certified Expert: Digital Analytics® & SiteCatalyst Implementation & Reporting®

12 replies

Pablo_Childe
Community Advisor
Community Advisor
November 20, 2018

ok I think I know issue.

The challenge is your scode(main code) is setup to pick from UTM codes to then parse out and create the s.camapign variable.

try this fake URL

https://www.nycgo.com/things-to-do/events-in-nyc/dont-miss-this-month/december?utm_term=decemberevents&utm _content=calendar&cid=nycos_events_fb_f18_us_en_decevents_eventpage_20181116

You will see how it starts to populate it.

If its not in scode directly then you will need to look in processing rules under Admin.

Level 2
November 20, 2018

Thanks for the insight. I will work with the dev team to understand if we can pick up the cid instead of UTM to then populate the s.campaign variable.

- James