Blast Analytics and Marketing

Analytics Blog

Supporting Leaders to EVOLVE
Category: Digital Analytics

Google Analytics Autotrack – Should You Use It?

Last month, Google Analytics launched a new feature intended to make data collection more robust. The feature, called Autotrack, is a set of plugins that automate the collection of data from your website for visitor interactions that are not automatically tracked by the core tracking snippet (i.e. analytics.js).

A few of the actions that Google’s Autotrack is looking to solve for include:

  • a visitor clicking on an outbound link
  • a form that leads to a different domain or sub-domain
  • certain interactions of single page applications
  • responsive layout changes (such as when a visitor switches from portrait to landscape on a mobile device)

This sounds great, right?

Well actually, while Google’s intentions to automate data collection with Autotrack are good, there are also significant limitations that deserve attention. The point of this post is to help those considering Autotrack understand:

  • The circumstances when Autotrack would be helpful.
  • The circumstances when Autotrack would only get in the way.
  • How we’ve developed an analytics tracking framework that is more effective for advanced, custom data collection needs.

When Google’s Autotrack Makes Sense

The use case for Google Analytics Autotrack is in reality a fairly narrow set of circumstances. As Google says in their announcement post,

“Autotrack is primarily geared toward sites that do not customize their current analytics implementation”

and is for sites “just using the default tracking snippet today.” In other words, if your current implementation of Google Analytics consists of copying and pasting the latest tracking code from the admin interface to your website code, Autotrack will blow you away.

All you need to do is load the Autotrack script file on your page and require the plugin by adding a line of code with your Google Analytics tracking snippet:

screenshot from google autotracker

Note the highlighted lines of code above and that the autotrack.js file must be hosted on your site. This is a small detail but could be an issue for the types of sites that this feature is most intended to help. Overall, it’s a straightforward implementation.

For more detailed information on the Autotrack enhancement of the basic Google Analytics tracking code, visit the GitHub page for Autotrack.

When to Give Autotrack an Autoreject

There are several circumstances when it’s a good idea to use another means of accomplishing robust data capture, such as:

  • If you’re using a tag management system. Autotrack is not integrated with tag management, including Google Tag Manager. Most analytics implementations are now using tag management so this is a major downside.
  • If you’re already customizing your Google Analytics data collection. Adding Autotrack may result in inconsistent data.
  • If you’re firing other pixels (media conversion, etc.) along with Google Analytics. In this case, you should be using a tag management system to handle collecting the data and sending it to all of the systems that need it.

Most companies that are using Google Analytics data to inform their business decisions will fit into one or more of the above categories. That doesn’t mean that automating data collection is beyond the reach of companies that have a sophisticated set of marketing and analytics technologies and complex set of needs.

A Data Collection Tool that Delivers

The major benefit of Autotrack is the goal to automate data capture. We’re such big fans of the concept to streamline and automate data collection at Blast that we developed an analytics tool-agnostic framework a few years ago that we have been constantly evolving which handles analytics tracking implementation through tag management systems.

Internally, we call it our Blast Analytics Tracking framework (or BAT). BAT accomplishes the same objectives as Autotrack, with dramatically increased flexibility and scalability.

How BAT Works

Tag Management SolutionsBAT has been developed for Google Tag Manager, Adobe’s Dynamic Tag Manager, and Tealium IQ tag management systems, and can be integrated into these systems so that the TMS native functionality is triggered within the code. It is a JavaScript library built to give you direct access to data collection and allow you an easy method of tracking low to high volumes of data points. It works by capturing the user event and processing it through a series of conditions to determine:

  1. whether or not it should be tracked
  2. what values should be captured
  3. which tools should be sent the event

Working inline with the tag management system, it will pass values into the data layer and can fire multiple triggers for tags, such as firing Google Analytics (GA) page views to two separate properties, or firing a GA hit alongside a Mixpanel call. The mechanism is tool-agnostic, so we’re able to push the data to Google Analytics, Adobe Analytics, Mixpanel, or any digital analytics data capture tool.

Benefits of BAT

  • Allows all tracking of links, buttons, or any item which may cause an event action.
  • Allows you to easily structure how the data is captured for better digestion while allowing you to exclude items which don’t have value.
  • Core functionality is separate from the customization needed for each implementation, which allows for both flexibility and scalability.
  • Update the custom data collection as your needs evolve over time without affecting the core; perform updates to the core without affecting customization.
  • Customization via BAT will reduce the risks associated with injecting tracking code into pages.
  • You can make use of a Server-side Attribute Placement Engine wherein you push values into the HTML code via attributes and the BAT core will automatically recognize and capture the data to send to your TMS or analytics tools.

Additional BAT Modules Available

The module mechanism allows you to build custom code-based functions for your specific needs. For example:

  • outbound link tracking
  • migrating Google Analytics to universal from classic (provides alerts so you can know which pages still have old code)
  • migrating from inline code to tag management (checks if the account is already on the page and active so when developers remove the inline code the tag management code automatically kicks in)
  • scroll tracking
  • video tracking
  • A/B testing tracking

Fingers on the Pulse of Data Collection

Check back for further blog posts that dive into the details of BAT, and share with the analytics community our approach to automating data collection for custom, complex implementations.

To recap, Autotrack from Google Analytics is a valuable tracking enhancement for those not using a tag management system, and for those using only the most basic tracking snippet. For those who are asking more advanced questions of their data and thus have deeper analytics needs, a more advanced solution is required. That solution should take advantage of automated data collection for flexibility and scalability, and so that customization is faster to implement and update. To learn more about how we approach this now, get in touch and let’s talk.

Autotrack Questions?

Post a comment if you have any further questions about what Google Analytics Autotrack is, what it does, what it doesn’t do, or how to configure Autotrack.

Olaf Calderon
About the Author

Olaf is the Director of Implementation at Blast Analytics & Marketing. He and the implementation team, handle configuration, installation and training of analytics tools. He spends the majority of time developing tracking code and He loves the challenges that every project presents and is always finding more efficient ways for our clients to collect, read and analyze their data. His passion is developing tools, processes or methods to make everyone's life easier.

Olaf Calderon has written on the Blast Digital Customer Experience and Analytics Blog.

Related Insights

business meeting discussing analytics

Digital Analytics

December 16, 2021

We’re here to help with tips and insights on the following topics:

Data Management Digital Analytics Digital Experience Digital Transformation Marketing Activation User Privacy
HIPAA and Analytics White Paper CTA

Featured White Paper

Healthcare Analytics and HIPAA: Ways to Minimize Risk and Ensure Compliance

The rise in digital data and analytics adds complexity and risk for healthcare organizations. Those that don’t comply with data privacy requirements, including Health Insurance Portability and Accountability Act (HIPAA), could face heavy fines, civil action lawsuits, and even criminal charges. Not to mention loss of patient trust.

Download the White Paper

Ready To Do More With Your Data?

If you have questions or you’re ready to discuss how Blast can help you EVOLVE your organization, talk to an Analytics Consultant today.

Call 1 (888) 252-7866 or contact us below.