Subscribe to BlogGet all of our latest industry tips by email
Recent posts
- Social Resourcing. Have you got the 4Factor?
- SEO in 2022
- New Google Privacy Changes – Digital Delight or Data Nightmare?
- Social Media for the Gambling Sector
- Search Plus Your World – What is it and what are its Implications?
- Google Offer Extensions Impact On Footfall
- Mission Accomplished (Sort of…) #1Man1Mission3
- Social Media Analytics – Are you tracking your interactions?
- Social media doesn’t need to be complicated
- The Future of Search: Reviewed
Related Posts
BY CATEGORY
BY AUTHOR
- Aatif Basheer (1)
- Alina Katchi (10)
- Ashley Lindley (19)
- Chris Hyland (30)
- Eleanor Steele (22)
- Emma Pilcher (2)
- Gerard Harris (108)
- Hannah Miller (177)
- Ibeth Santos (3)
- Jack Mclaren (38)
- James Cornwall (11)
- James Green (7)
- Kia McSween (3)
- Laura Pagani (3)
- Luke Knight (14)
- Matt Stannard (16)
- Matthew Phelan (77)
- Nicola McAdam (2)
- Peter O'Neill (1)
- Rachel Kneen (148)
- Robert Laver (1)
- Serena Wong (1)
- Stephanie Villegas (45)
Asynchronous Google Analytics Code
Google Analytics had launched Asynchronous tracking late last year, providing an alternative for tracking your websites. The tracking code can be thought of a snippet that helps in reducing webpage load time. Websites that will benefit from this snippet are those that rely on a lot of scripts & rich media content with lightweight sites also showing signs of improvement. So what are the benefits?
• Improved browser execution helping to quicken tracking code loading times for your web pages.
• Enhanced data collection & accuracy.
• Eliminates tracking errors from dependencies when JavaScript hasn’t fully loaded.
Where do we place the code?
When the analytics code was initially rolled out as a beta version in December, 2009 – the instruction was to place the Asynchronous Google Analytics code higher in the page before closing the <head> tag. However, due to issues with IE 6 & 7, the workaround solution was to place it just after opening the <body> tag. Since then we’ve had an updated version of the code meaning the former instruction of placing it within the <head> section works just fine.
To get started with Asynchronous tracking, place the following code remembering to change UA-XXXXX-X with your web property ID.
Migration Instructions
To migrate to the Asynchronous snippe t for pages that currently use traditional tracking with ga.js, please go through the following instructions:
• Remove existing tracking code & any customisation made.
• Insert the Asynchronous snippet at the bottom of the <head> section of your pages.
• Modify the _setAccount method with your web property ID
• Add your customisations back in using the Asynchronous syntax
• It is recommended not to use the existing & the new Asynchronous tracking code together on the same page.
We at 4Ps Marketing put a lot of emphasis on analytics to help our clients with effective SEO campaigns & stay ahead of the game.
Save on Delicious