MENUMENU
  • Services
    • Services
      • Search Engine Optimization
      • International Search Marketing
      • Local Search Marketing
      • Pay Per Click Advertising
      • Social Media Marketing
      • Email Marketing
      • Conversion Rate Optimization
      • Public Relations
      • Website Design & Development
      • Reporting & Analytics
      • Amazon Marketing Services
      • Digital Marketing Strategy
      • Franchise Marketing
  • Case Studies
  • About Us
    • About Ignite Visibility
      • Our Story
      • Clients
      • Our Values
      • Diversity & Inclusion
      • Our Team
      • UCSD Extension Courses
      • Careers
  • Thought Leadership
      • Our Blog
      • Podcast
      • SEO: The Movie
      • Social Media Marketing: The Movie
      • Book: The Forecaster Method
      • Attend Our Next Digital Marketing Event
  • Contact
  • 619.752.1955
Home / Analytics / How to Set Up Universal Analytics Cross Domain Tracking Installation

How to Set Up Universal Analytics Cross Domain Tracking Installation

August 26, 2014 By John E Lincoln

Google is now offering Universal Analytics as the standard Google Analytics installation. For the most part, it much simpler, flexible and feature rich than previous models of the software. One thing that has changed is the way we implement cross domain tracking. While previously, you had to call the link method, with Universal Analytics, there are few different steps. In this post we look at how to set up cross domain tracking in Universal Analytics. This will allow us to correctly collect goals, ecommerce, etc. without the use of Google Tag Manager.

Universal Analytics Cross Domain Tracking Installation

Universal Analytics Cross Domain Tracking Installation

Get your Tracking Code Installed

For the purpose of this blog, I am going to assume you already have upgraded to Universal Analytics and tracking code is on both domains.

How to Install Cross Domain Tracking with Universal Analytics

Set up AutoLink Plugin

So the main thing that we need to accomplish is that we need to pass the visitor tracking cookie from site A to site B (B is the shopping cart site). Once you have your tracking code in place, the easiest thing you can do is use the autoLink plugin from Google. According to Google, “The Cross Domain Auto Link plugin is the recommended way to implement cross domain linking with analytics.js.”

On your .site without the shopping cart (site A), add the following JavaScript code to all your pages. Important, make sure this is added after your Universal Analytics tracking code.

….

ga(‘send’, ‘pageview’);

// Load the plugin.

ga(‘require’, ‘linker’);

// Define which domains to autoLink.

ga(‘linker:autoLink’, [‘abccart.com’]);

According to Why Measure That, “If you have implemented the autoLink plugin correctly, whenever you click on links that lead to the 3rd party (e.g. shopping cart) domain, you should see the URL is attached with the _ga query string.”

On the shopping cart website you also need to add code. Create the call as listed below.

ga('create', 'UA-XXXXXX-X', {
'allowLinker': true
});

Add Referral Exclusion

After you have installed the autoLink plugin it is time to add your referral exclusion. First, find your property and then navigate to referral exclusion list. Once you are there, click add referral exclusion. You need to exclude website A from the profile.

Now when you utilize Google analytics you should now longer have issues with seeing your own domains as referring site traffic! I hope you enjoyed setting up cross domain tracking in Universal Analytics. If you didn’t get it right, send us a note.

Sources

  • Cross Domain Tracking (Google Analytics and Universal Analytics), 2014. Google

About John E Lincoln

John Lincoln (MBA) is CEO of Ignite Visibility (a 2017, 2018, 2019 and 2020 Inc. 5000 company) a highly sought-after digital marketing strategist, industry speaker and author of two books, "The Forecaster Method" and "Digital Influencer." Over the course of his career, Lincoln has worked with over 1,000 online businesses ranging from small startups to amazing clients such as Office Depot, Tony Robbins, Morgan Stanley, Fox, USA Today, COX and The Knot World Wide. John Lincoln is the editor of the Ignite Visibility blog. While he is a contributor, he does not write all of the articles and in many cases he is supported to ensure timely content.

You may also like:

  • SEO Reporting
    SEO Reporting The Right Way: SEO Reports Your Team Needs

  • SQL vs. MQL: What’s the Difference?

  • GA4 Essentials: A Guide to Google Analytics 4

  • Announcing Our New Digital Marketing Tool: CertaintyTech

Search Here

NEWSLETTER // SIGN UP NOW

About The Editor

John E Lincoln, CEO

John Lincoln is CEO of Ignite Visibility, one of the top digital marketing agencies in the nation and a 6x Inc. 5,000 company. Lincoln is consistently named one of the top marketing experts in the industry. He has been recipient of the Search Engine Land "Search Marketer of the Year" award, named the #1 SEO consultant in the USA by Clutch.co, most admired CEO and 40 under 40. Lincoln has written two books (The Forecaster Method and Digital Influencer) and made two movies (SEO: The Movie and Social Media Marketing: The Movie) on digital marketing. He is a digital marketing strategy adviser to some of the biggest names in business. John Lincoln is the editor of the Ignite Visibility blog. While he is a major contributor, he does not write all of the articles.

LEARN MORE ABOUT JOHN

Contact Us. Let’s Chat!

  • Hidden

Marketing Guides

SEO In 2020: How To Prepare For Major Disruption

"SEO: The Movie" - Have You Seen Our Film? Watch Now

"Social Media Marketing: The Movie" - Have You Seen Our Film? Watch Now

Amazon Seller Central vs Vendor Central

Listen To The Podcast Featuring The Best Minds In Marketing

John Lincoln Interviews Global Director of Digital Marketing & Strategy at Qualcomm, Jessica Jensen

Check Out 227 Free Online Marketing Classes

The 2020 Guide To Dominating SEO With Advanced Schema

Learn More About Our Digital Marketing Agency

Learn More About Our SEO Services

Learn More About Our Paid Media Services

SELECT CATEGORY

Become A Contributor

Interested in writing for Ignite Visibility?

APPLY NOW

Services

  • Search Engine Optimization
  • Pay Per Click Management
  • Conversion Rate Optimization
  • Website Design & Development
  • Social Media Company
  • Public Relations
  • Amazon Marketing Services
  • Franchise Marketing
  • International Services
  • Digital Marketing Agency Services

About

  • Our Team
  • Our Values
  • Clients
  • Reviews
  • UCSD Extension Courses
  • Careers
  • Tools & Resources
  • Sitemap

Contact

4250 Executive Square, Suite 100
La Jolla, California 92037

619.752.1955

Join The Newsletter

Sign up for our newsletter to get the latest from Ignite Visibility.

google parther logo

©2022 Ignite Visibility. All Rights Reserved. Privacy Policy