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
BedrockMission!

Learn More

View all

Sign in to view all badges

Documentation create s.campaign on Launch

Avatar

Avatar
Boost 3
Level 1
francescop47742
Level 1

Likes

3 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Boost 1
View profile

Avatar
Boost 3
Level 1
francescop47742
Level 1

Likes

3 likes

Total Posts

39 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Validate 1
Boost 1
View profile
francescop47742
Level 1

18-05-2021

Hi to all,

 

I'm starting a new Setup for Adobe Analytics and found a guide to setup the S.Campaign.

 

This guide explains how to create the S.Campaign on a landing with parameters cid (or other paramaters); what I don't understand is how to do if the user comes from Google (or another search engine) or from the referral traffic or from direct traffic.

 

Is there an official guide that explains how to populate the S.Campaign in these scenarios? I need to creare s.campaign using document.referrer?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

180 likes

Total Posts

541 posts

Correct Reply

106 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

180 likes

Total Posts

541 posts

Correct Reply

106 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile
yuhuisg
MVP

18-05-2021

You don't need to set s.campaign with non-campaign sources. So you don't need it for natural search, 3rd party referrers nor direct traffic.

You only need to set it with your campaigns, where you have an explicit campaign tracking code in your landing page URL.

E.g. www.website.com/landing-page?cmp=abc123. In this example, you will set s.campaign to the value of the "cmp" query.

Avatar

Avatar
Affirm 25
Employee
Khurshid_Alam
Employee

Likes

55 likes

Total Posts

188 posts

Correct Reply

41 solutions
Top badges earned
Affirm 25
Boost 50
Affirm 10
Boost 25
Affirm 5
View profile

Avatar
Affirm 25
Employee
Khurshid_Alam
Employee

Likes

55 likes

Total Posts

188 posts

Correct Reply

41 solutions
Top badges earned
Affirm 25
Boost 50
Affirm 10
Boost 25
Affirm 5
View profile
Khurshid_Alam
Employee

18-05-2021

Use the plugin here: getQueryParam | Adobe Analytics

 

You would need to install the plugin in your Analytics setup. You can then set campaign from query param in document.referrer by using this code:
s.campaign=s.getQueryParam('cid','',document.referrer);