Airlock.js Install Guide
Before you start
In order to utilize Airlock you must upgrade your classic Google Analytics property to Universal Analytics. From the Admin panel under your Property column:
If you do not see this option you have already upgraded to Universal Analytics or Google has done this for you automatically.
Select the Transfer button to complete the upgrade request. It will take up to 48 hours to complete the upgrade to Universal Analytics.Do notinstall Airlock until this upgrade is complete. After your upgrade is complete your classic Google Analytics code will continue to send data to your property reports.
How to implement Airlock.js on your site
Once your property has been successfully transferred to Universal Analytics, it is time to deploy the code on your site.
Implementing Airlock.js with on page code
To upgrade a vanilla Google Analytics install where you are not using any tag management systems, you will replace the code to include the Google Analytics file with the Airlock code.
How to implement Airlock.js using Adobe Dynamic Tag Management
Under the General section, check the box “Google Analytics page code is already present”. This will ensure that the ga.js file does not get included on the page.
Paste the Airlock code, check the box to execute globally, and click the Save Code button.
Click the Save Rule button, Approve and Publish the update. That’s it. Airlock will handle everything from this point forward, including the inclusion of the new Universal Analytics code.
Implementing Airlock.js with Google Tag Mananger
Click the Add Rule to Fire Tag button and select the All pages Rule.
Click Save and click Save again. Preview, test and Publish your update. That’s it.