Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Capture UTM and CID parameters in AA

Avatar

Level 2

Hi All, 

some of the campaigns our company runs gets tagged with GA based UTM codes instead of CID! 

I would like to capture both in AA in the s.campaign variable.How can i do this? Below is what i currently have

s.campaign = s.Util.getQueryParam('cid');

What would i need to add for it to capture a URL that looks like,

utm_source=facebook&utm_medium=cpc&utm_campaign=gew&utm_content=gew-fb-gravitylight-p2-global

And what if not all campaigns have the "utm_content=", can i add something like a utm_* ?

Thanks,

Lee

1 Accepted Solution

Avatar

Correct answer by
Level 6
1 Reply

Avatar

Correct answer by
Level 6

I have written a bit about this in the following blog post:

http://analyticsdemystified.com/adobe-analytics/using-utm-campaign-parameters-adobe-analytics/

Adam Greco