What is Airlock.js?

Airlock.js is a JavaScript library that automatically turns your asynchronous Google Analytics calls into Universal Analytics calls, lifting the burden of having to re-implement a site when upgrading to Universal Analytics.

See Airlock.js in action.

Universal Analytics is here.

airlock-logo

The auto-transfer from Classic Google Analytics properties to Universal Analytics will be happening in the coming months for those that don't self-initiate.

The upgrade to Universal Analytics will give you simplified configuration options, custom dimensions, custom metrics and the ability to track ANY digital device. That means data from gaming consoles, information kiosks, point of sale and anything you can connect to the web can now be at your fingertips inside of Google Analytics.

The two-step process for upgrading your account is detailed in Google's Upgrade Guide. The second step instructs you to retag your entire site. While converting all of your tracking code is optional for now, it is still a requirement in order to take full advantage of Universal Analytics. With Airlock.js, we've made it so much easier.

By simply including Airlock on your site the following custom Google Analytics tracking code will be converted to Universal Analytics tracking code automatically for you:

  • Custom Events
  • Ecommerce
  • Custom Variables
  • Virtual Pageviews
  • Social Interactions
  • User Timings
  • Cross Domain Tracking
  • Subdirectory Tracking
  • Sampling
Download Airlock.js v1.0.3
View Airlock.js Demo »View Source on Github »Read the Installation Guide »