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

Campaign tracking with mutiple ? in url

  • October 16, 2015
  • 12 replies
  • 10034 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

pawełp56255812
New Participant
October 16, 2015

Hi Harsh,

thank you for your answer. Works like a charm now :)

Btw. is there a way to put more info intro tarcking code? Cause atm when I enter (ie.) ?s_cid=somewebsitename i get that info "somewebsitename" in my Adobe Analytics capaign tracking. Which of course is good. But let's say I have 3 different ads on this website and I want to track each of them separetly. In GA I would just set same source in utm and change the utm medium. Does Adobe Analytics offer something similar? 


Br.
PP

Harsh_Kabra
New Participant
October 16, 2015

Hi Powel,

Glad to know that it worked like a charm :) 

Please like the comment should you find it useful by clicking the heart like button and also, move this thread to SOLVED for the benefit of the other users of the Forum.

To answer your question, to get the mazimum information from the Campaign Tracking Code, I can suggest you 2 approaches, feel free to leverage one which fits better to your requirement.

Solution#1: I have learnt from your previous comment that you were using GA/UA previously. You can use the same campaign tracking code in SiteCatalyst. I had provided this solution to one of my previous client who was adamant to use their previous campaign codes of GA only.

1. Lets assume that the URL given below is your campaign landing page URL with UTM parameters:

www.abc.de?lpi=12345&utm_source=<source>&utm_medium=<medium>&utm_term=<term>&utm_campaign=<campaign>;

 2. Now, the next step would be to do some SiteCatalyst magic to let this UTM parameters to the job for us. Instead of s.getQueryParam("s_cid") , we can use the following:

s.campaign=s.getQueryParam('utm_source,utm_medium,utm_term,utm_campaign',':');

The resultant value of the Campaign Tracking code would be: "<source>:<medium>:<term>:<campaign>"

3. The last step in this process would be to apply SAINT Classification to classify all the values passed in s.campaign as appropriate.

AND WE ARE DONE ..!!!

Solution#2: The second solution would be to transform your current Campaign Tracking Code to a SMARTER Campaign Tracking code. Wondering how.. ? Lets do that here:

1. The syntax of your campiagn tracking code to something like, s_cid=<ChannelCode><UniqueID>

Where,

<ChannelCode> = afl=Affiliates / dis=Display Banners / em=Email / ps= Paid Search , ..., etc.

<UniqueID> = This should be a unique id for a specific marketing element.

<Other>, you can add some more uniqueness to you campaign tracking code to distinguish b/w your campaign coming from the same source as well.

2. Same as solution#1, we need to apply SAINT classification on this Tracking Code report and we are done. I would suggest you read a little about SAINT classification, a very powerful tool of Adobe Analytics which can give you much morer granular level of information than what you need.

Hope this helps and Don't forget to like the comment :)

Thanks,

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