この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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?
解決済! 解決策の投稿を見る。
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.
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.
thk for reply, and how Adobe recognize natural search? referral or direct?
表示
返信
いいね!の合計
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);
you don't need the plugin nor do you need the "document.referrer" (which is not the actual URL). Assuming the campaign parameter is in the current URL, just create a data element "cmp parameter" by using "core" => "query string parameter" (enter desired parameter). then you are able to set the campaign parameter in the tracking call like this:
s.campaign = _satellite.getVar("cmp parameter");
表示
返信
いいね!の合計
表示
返信
いいね!の合計