Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to determine what URL parameter is mapped to s.campaign?

jp_adobenewbie
Level 1
Level 1

Hello there, 

I'm relatively new to a company and they've tasked me with finding out why none of our campaigns are being tracked in Adobe Analytics. We've posted links with CID in the tracking code but none of them are passing through. I've tried to get in touch with our adobe admin but she is out of office for the next 60 days and there's no one else who can help me. 

My question, is there a way to determine if the company doesn't use cid in the URL by using an adobe debugger on our site? Is there anything automatic that will just find it for me so that I know what I can search for? If so, I'd love a quick step by step to determine it. FYI - I'm fairly comfortable with Chrome dev tools but am just getting my feet wet with adobe debugger. Thanks!

0 Replies
WayneV
Level 2
Level 2

A quick check would be to paste in a url with what you believe to be correct campaign query string. Then in console run s.campaign. If all is configured correctly and you are using the correct campaign identifier then you should see your campaign string be populated into s.campaign.

 

If it is undefined then it’s likely that either the wrong identifier is being used or the code has not been deployed. If you are able to share url either here or DM I can take a look?

Gigazelle
Employee
Employee

Search the source code on your site for getQueryParam. You should be able to find the campaign variable, and it will tell you which query string parameter it is getting assigned to within the method's argument.

Alternatively, you can share your site URL and we can check out how Analytics was implemented.

yuhuisg
Community Advisor
Community Advisor

If you're using Adobe Launch as your tag manager:

  1. Open the Adobe Analytics extension.
  2. Expand the "Global variables" section.
  3. Under "Additional settings", look for the "Campaign" subsection. It might look like this:

Screenshot 2021-02-10 at 10.17.46 AM.png