Skip to Main Content

Get on the Autotrack for Analytics Success

Posted on 2.29.2016

No doubt, staring at numbers (Web performance metrics) can leave your mind buzzing. Fortunately, Google is launching a way for digital marketers to get more out of its analytics offering without having to handle the incredible learning curve.

Google recently launched autotrack for analytics.js, a library that “attempts to leverage as many Google Analytics features as possible while requiring minimal manual implementation. It gives developers a foundation for tracking data relevant to today’s modern Web,” explains Philip Walton, developer programs engineer at Google in the blog post announcing the launch.

Autotrack offers a collection of Universal Analytics plugins that can be enabled collectively or individually. Autotrack is designed for properties that do not already have customized tracking code.

One of the plugins included in the autotrack library automates outbound link and form tracking. Tracking user clicks or form submissions that go offsite has always been a bit of a pain to implement, requiring code customization. With this plugin implemented, it can happen automatically.

Another plugin simplifies tracking of events, such as click events, by adding attributes to the markup, rather than having to write out an event listener in JavaScript.

In addition to declarative event tracking and automatic outbound form and link tracking, the autotrack library includes plugins for media query and breakpoint tracking, enhanced session duration tracking, automatic and enhanced declarative social tracking and automatic URL change tracking for single-page applications.

To implement autotrack, you’ll need to load the autotrack.js script file on your page, then update the tracking snippet to require the autotrack plugin.

Full instructions and additional details are available on Github.


 Request Website Magazine's Free Weekly Newsletters 


Leave Your Comment

Login to Comment

Become a Member

Not already a part of our community?
Sign up to participate in the discussion. It's free and quick.

Sign Up

 

Leave a comment
    Load more comments
    New code
  •