How to Find the Google Analytics Asynchronous Code And Implement It For Faster Loading Of Your Website
Why Switch to The Asynchronous Google Analytics Code
- The newer code eliminates tracking errors when the code JavaScript code does not loads completely. Some users also use browsers with JavaScript turned off, hence you lose out on the data when either the JavaScript has not fully loaded or the visitor has disabled JavaScript altogether.
- Better data collection and accuracy
- Reduces the loading time to a great extent.
For example: Switching to the new Asynchronous code improved this site’s loading time by 0.8 seconds. I know this isn’t going to make a huge difference but as you know, in the internet – every millisecond counts.
How to Find Google Analytics Asynchronous code

Find The Google Analytics Asynchronous Code

Switch to the Google Analytics Asynchronous Code
3. In the next page, copy the code and paste it just above the ending head tag (</head>) in your site’s template.

More Tips on Google Analytics:
2. Using Google Analytics motion charts – to measure website performance
3. Tracking visitors and Customizing your reports



I got here from strictlyonlinebiz. i have added the new code.
am i supposed to delete the former analytic code?
thanks
@Jumoke: yes, you should remove the earlier code because the new code will work just fine. Thanks for the comment.
Thanks your reply was extremely very fast
@Jumoke: Yes, we answer to questions and feedback as soon as possible, feel free to ask more questions or any other thing which you want.
Wow that’s cool, I use analytics a lot, great tips finally
Thank you, I also read your article on the Google translation which is very slow. However in that article you say: “Since the above code uses Javascript, it’s recommended to paste the code just above the ending body tag , for faster loading of your website.”
However for the ANALYTICS code you suggest placing the script before the closing head, which is the top of the page.
Just wondering what, if any, is the difference.
Thanks