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

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
0 Replies

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