Advanced Settings for Google Analytics

All in One SEO includes some advanced options for Google Analytics which you may need to track visitor interaction with your site.

This article assumes that you’ve already set up a Google Analytics account and added your Tracking ID in All in One SEO.

We’re going to cover the following advanced settings which are displayed when you enable the Enable Advanced Analytics Options setting under All in One SEO » General Settings » Webmaster Tools » Google Analytics:


Tracking Domain

The Tracking Domain setting is used if you want to set the cookie domain for the Google Analytics tracking code. Enter your domain name without the https:// in the field.

For more information, please refer to the Google Analytics documentation on domains and cookies here.

Track Multiple Domains

The Track Multiple Domains setting is used if you want to enable cross domain tracking with Google Analytics. Set Track Multiple Domains to Yes and enter the domains you want to track in the Additional Domains field.

Be sure to enter one domain per link without the https://.

For more information, please refer to the Google Analytics documentation on cross domain tracking here.

Anonymize IP Addresses

The Anonymize IP Addresses setting tells Google not to track and store the full IP addresses of visitors to your site. This feature is designed to help site owners comply with privacy policies or data protection rules, which prevent the storage of full IP address information. 

To enable this setting, set Anonymize IP Addresses to Yes. Note that this will slightly reduce the accuracy of geographic reporting.  

For more information, please refer to the Google Analytics documentation here.

Display Advertiser Tracking

Google Analytics Advertising Features are a collection of features that takes advantage of cookies so you can do things like:

  • Create Remarketing Audiences based on specific behavior, demographic, and interest data, and share those lists with AdWords
  • Use demographic and interest data in your Analytics reports
  • Create Segments based on demographic and interest data

To enable this setting, set Display Advertiser Tracking to Yes.

For more information, please refer to the Google Analytics documentation here.

Exclude Users from Tracking

By default, Google Analytics will track visits to your site by logged in users such as Administrators. You can use this setting if you’d like to not track these visitors.

To enable this, check the box for each user role you’d like to exclude.

The Enhanced Link Attribution setting enables you to track the following behavior:

  • See separate information for multiple links on a page that all have the same destination. For example, if there are two links on the same page that both lead to the Contact Us page, then you see separate click information for each link.
  • See when one page element has multiple destinations. For example, a Search button on your page is likely to lead to multiple destinations.
  • Track buttons, menus, and actions driven by javascript.

To enable this setting, set Enhanced Link Attribution to Yes. You must also make sure you enable Use enhanced link attribution under Property Settings in your Google Analytics account.  

For more information, please refer to the Google Analytics documentation here.

The Track Outbound Links setting is used if you want to track links that lead away from your site. By default Google Analytics ignores these links and doesn’t track users who click them. 

To enable this setting, set Track Outbound Links to Yes.

For more information, please refer to the Google Analytics documentation here.

Enhanced Ecommerce

The Enhanced Ecommerce setting is used to provide tracking of a customer’s path to purchase on and eCommerce site.

To enable this setting, set Enhanced Ecommerce to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Outbound Forms

This feature is only available in All in One SEO Pro.

The Track Outbound Forms setting tracks when a a form submission goes to a different domain. 

To enable this setting, set Track Outbound Forms to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Events

This feature is only available in All in One SEO Pro.

The Track Events setting can be used in conjunction with attributes in your HTML to track user interaction with DOM elements. 

To enable this setting, set Track Events to Yes.

For more information, please refer to the Google Analytics documentation here.

Track URL Changes

This feature is only available in All in One SEO Pro.

The Track URL Changes setting can be used to detect changes to URLs via the History API and automatically update the tracker and sends additional pageviews. This allows single page applications to be tracked like traditional sites. 

To enable this setting, set Track URL Changes to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Page Visibility

This feature is only available in All in One SEO Pro.

The Track Page Visibility setting can be used to measure session duration more accurately when pages are left open in browser tabs for a long time. 

To enable this setting, set Track Page Visibility to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Media Queries

This feature is only available in All in One SEO Pro.

The Track Media Queries setting can be used to track which media queries are used on a responsive site to control the size of the browser window.

To enable this setting, set Track Media Queries to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Elements Visibility

This feature is only available in All in One SEO Pro.

The Track Elements Visibility setting can be used to track whether elements are visible within the browser viewport.

To enable this setting, set Track Elements Visibility to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Page Scrolling

This feature is only available in All in One SEO Pro.

The Track Page Scrolling setting can be used to track how far down the page a user has scrolled as a percentage of the total scrollable height of the page.

To enable this setting, set Track Page Scrolling to Yes.

For more information, please refer to the Google Analytics documentation here.

Track Facebook and Twitter

This feature is only available in All in One SEO Pro.

The Track Facebook and Twitter setting can be used to track user interaction with the official Twitter Tweet and Facebook Like buttons.

To enable this setting, set Track Facebook and Twitter to Yes.

For more information, please refer to the Google Analytics documentation here.

Ensure URL Consistency

This feature is only available in All in One SEO Pro.

The Ensure URL Consistency setting can be used to to settle on a single canonical URL for each page so that you can specify a preference for whether or not to include extraneous parts of the URL.

To enable this setting, set Ensure URL Consistency to Yes.

For more information, please refer to the Google Analytics documentation here.

We have already covered Setting up Google Analytics in the documentation here.

Once you've added your Google Analytics Tracking ID to the Google Analytics ID field in All in One SEO Pack you'll see an option to enable the Advanced Analytics Options.

Here we will go over the Advanced Analytics Options highlighted in red below.

Advanced Google Analytics settings

Tracking Domain

The Tracking Domain option is used if you want to set the cookie domain for the Google Analytics tracking code.  By default the cookie domain will be set to auto but you can enter any parameter accepted by Google.  For more information refer to the Google Analytics documentation on domains and cookies here.

Track Multiple Domains / Additional Domains

The Track Multiple Domains and Additional Domains options are used if you want to enable cross domain tracking with Google Analytics.  For more information refer to the Google Analytics documentation on cross domain tracking here.

Anonymize IP Addresses

The Anonymize IP Addresses option tells Google not to track and store the full IP addresses of visitors to your site. Google Analytics will anonymize IP address information by removing the last octet of the IP address prior to its storage. This feature is designed to help site owners comply with privacy policies or data protection rules, which prevent the storage of full IP address information. Note that this will slightly reduce the accuracy of geographic reporting.  More information can be found on Google's website here.

Display Advertiser Tracking

Google Analytics Display Advertiser Features is a collection of features that takes advantage of the DoubleClick cookie so you can do things like:

  • Create Remarketing Audiences based on specific behavior, demographic, and interest data, and share those lists with AdWords
  • Use demographic and interest data in your Analytics reports
  • Create Segments based on demographic and interest data

More information can be found on Google's website here.

Exclude Users from Tracking

You can use this setting if you'd like to exclude the data you or your users generate when logged into your site. Google will track any time a link to a page or post on your site is clicked, even when you are logged in and navigating your site yourself. This setting removes that tracking data from your Analytics so that it isn't skewed.

Track Outbound Links

The Track Outbound Links option is used if you want to track links that lead away from your site (for example links to your Facebook page or to another website you own).  By default Google Analytics ignores these links and doesn't track users who click them. Read their documentation here for more details.  To track outbound links check this box and All in One SEO Pack will add the necessary code to the source of your website.

Enhanced Link Attribution

Enhanced Link Attribution enables you tag your pages to implement an enhanced link-tracking functionality that lets you:

  • See separate information for multiple links on a page that all have the same destination. For example, if there are two links on the same page that both lead to the Contact Us page, then you see separate click information for each link.
  • See when one page element has multiple destinations. For example, a Search button on your page is likely to lead to multiple destinations.
  • Track buttons, menus, and actions driven by javascript.

When you check this option you must make sure you enable enhanced link attribution in your property settings by following the instructions here.  More information can be found on Google's website here.

Enhanced Ecommerce

You can use this to enable Enhanced Ecommerce to provide tracking of a customer's path to purchase on you e-commerce site.  More information can be found on Google's website here.

Track Outbound Forms

(Pro Feature - Upgrade Now)

This tracks when a a form submission goes to a different domain.  By default, Google Analytics can track form submissions when they go to a different page on the same domain.   This option adds an outbound form tracker that tracks when the form redirects to a different domain.  More information available here.

Track Events

(Pro Feature - Upgrade Now)

This provides declarative event binding to attributes in the HTML, making it possible to track user interactions with DOM elements without writing any JavaScript.  More information available here.

Track URL Changes

(Pro Feature - Upgrade Now)

This detects changes to the URL via the History API and automatically updates the tracker and sends additional pageviews. This allows single page applications to be tracked like traditional sites without any extra configuration.  More information available here.

Track Page Visibility

(Pro Feature - Upgrade Now)

This tracks page visibility instead of page load, meaning that session duration can be measured more accurately when pages are left open in browser tabs for a long time.  More information available here.

Track Media Query

(Pro Feature - Upgrade Now)

This tracks what media queries are used on a responsive site to control the size of the browser window.  More information available here.

Track Elements Visibility

(Pro Feature - Upgrade Now)

This allows you to specify a list of elements and then track whether any of those elements are visible within the browser viewport. If any of the elements are not visible, an event is sent to Google Analytics as soon as they become visible.  More information available here.

Track Page Scrolling

(Pro Feature - Upgrade Now)

This tracks how far down the page a user has scrolled, as a percentage of the total scrollable height of the page.  More information available here.

Track Facebook and Twitter

(Pro Feature - Upgrade Now)

This adds social tracking for the official Twitter tweet/follow buttons and the Facebook like button. If you have the official Twitter or Facebook buttons on your page then user interactions with those buttons will be automatically tracked.  More information available here.

Ensure URL Consistency

(Pro Feature - Upgrade Now)

This allows you to settle on a single canonical URL path for each page and lets you specify a preference for whether or not to include extraneous parts of the URL path, and updates all URLs accordingly.  More information available here.

Google Tag Manager

(Pro Feature - Upgrade Now)

You can find documentation on the Google Tag Manager option here.

Useful Links:

  1. All in One SEO Pack Documentation on Google Analytics
  2. Google Analytics - Universal Analytics
  3. Google Analytics - Domains and Cookies
  4. Google Analytics - Cross Domain Tracking
  5. Google Analytics - IP Anonymization
  6. Google Analytics - Display Advertising Features
  7. Google Analytics - Track Outbound Links
  8. Google Analytics - Enhanced Link Attribution
  9. Google Analytics - Enhanced Ecommerce