Category: "News"

Google Analytics UI Changes and Improvements

Some site owners have noticed recently that there have been changes to Google Analytics UI (User Interface) and more such as security improvements in regards to browser use, namely that Firefox and similar browsers are not compliant with how the information is displayed securely therefor will not display the analytics content for review.

Let’s review a few of these changes and some useful tips!

  • Automatic alerts will be removed from Google Analytics soon. Custom alerts will not be affected and continue to be visible.
  • The In-Page Analytics report is being removed from Google Analytics soon. However, you can still get in-page analytics by using the official Page Analytics Chrome Extension.

Furthermore the Google Analytics Code itself has undergone another change, let’s compare an old snippet to a newer snippet of code;

Old Version:
<script type=”text/javascript”>

var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-12345678-1’]);
_gaq.push([‘_trackPageview’]);

(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

New Version:
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’https://www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-12345678-1’, ‘auto’);
ga(‘send’, ‘pageview’);

</script>

Using the above examples, you need to check your existing Google Analytics Code and compare, if it’s outdated then simply snag the new code from the Analytics Dashboard Admin area which is rather simple so let’s recap that as well:

  • Log into your Google Analytics Account.
  • Click on the ADMIN tab at the top.
  • Click on .js Tracking Info under the Property Settings.
  • Click on Tracking Code and now scroll down, you can view the new code and copy/paste that into your relevant software.
  • Allow upwards of 24hours for the tracking code to begin tracking properly (if no code existed already).

You can view more information on the upcoming changes and improvements here.

Read More