

Specifically, a change in value for any of the following campaign URL parameters triggers a new session: utm_source, utm_medium, utm_term, utm_content, utm_id, utm_campaign, gclid. One Campaign Per Session-Each visit to your site from a different campaign-organic or paid-triggers a new session, regardless of the actual time elapsed in the current session.Campaign precedence-Each visit to your site from a different paid source-such as from a paid search-engine link, a Google Ads link, or a banner ad-overrides the campaign cookie information set by a previous source.Whatever is the latest paid campaign visit is listed as the referral for the visit. Source precedence-A direct-traffic visit that follows a paid-referred visit will never override an existing paid campaign.The following methods apply to processing that uses utm_ parameter values (e.g., display, social, email, paid search, etc.). The Campaign & Traffic Sources Processing Flowchart illustrates the processing logic. Processingĭuring processing, traffic-source and campaign field values are finalized into dimension values and attributed to sessions. Thus, if new campaign or traffic source values are sent to Analytics at collection time in the middle of an existing session, it causes the current session to end and a new session to start. Note that each session can be attributed to only one campaign or traffic source. &utm_medium=email&utm_campaign=january_promo &utm_content=copy_variation1ĭescribes the referring source and may set dimensions when no other campaign or traffic source fields have been set. Sets dimensions when custom campaign (utm) parameters are embedded. Sets the campaign name dimension in reports.
GOOGLE ANALYICS DIRECT URL CODE
The Analytics SDKs and tracking code use these fields when sending campaign and traffic-source data: Field Name Reporting – campaign and traffic-source dimensions and metrics become available in the web interface and Reporting API.Ĭollection, processing, and reporting behavior can be customized.Processing – collected values are used to populate the final report dimensions according to a processing logic.Collection – values are sent to Google Analytics in the campaign and traffic-source fields using the SDKs or tracking code.The process by which campaign and traffic-source data is sent to Analytics and populated in reports has the following steps: In Analytics, the ad campaigns, search engines, social networks, and other sources that send users to your property are collectively known as campaigns and traffic sources. Understanding campaigns & traffic sources If you're experiencing unexpected fluctuations or inconsistencies in your traffic, use this troubleshooter to identify and resolve the issues.
