Google Analytics has evolved from neonatal to very matured stage by launching ‘Universal Analytics’. The journey from Web Analytics 1.0 to Web Analytics 2.0 has brought a sea change in Google Analytics Tool implementation and configuration. A web analyst and digital marketer, being a business catalyst should be aware of industry best practices. I have made an attempt to consolidate and present relevant best practice in Google Analytics Best Practices Series -1. Thank you so much for visiting , read on and let me know your opinion.

********

Roll up or Aggregation of data into one Google Analytics Account is method of consolidating web analytics data into one, to derive the aggregate insights into website performance.

When to implement Google Analytics Property Level Roll up reporting?

In case you have two or more websites which are dedicated to different regions, for example you have dedicated website for Spain, Portugal, UK and Germany. Whereas individual google analytics properties are collecting data pertaining to their respective websites. Now you want these individual google analytics properties to be consolidated into one.

Roll up Property Reporting in Universal Analytics

Roll up Property Reporting in Universal Analytics

Note: Google Analytics Premium has dedicated property level Roll-up Reporting under Audience section to capture data from multiple trackers or different source properties to give consolidated insights of customer behavior on different websites of single business group.

Work Around

Google Analytics Standard Reporting does not support Property level roll up by default, you need to work around as following:

Create a property ID for a fictitious or virtual URL, as I have mentioned in one of my post GA does not check for the very existence of your website!

Here I name it as rolluprop.com is virtual URL and corresponding property ID is: UA-22222-1

You have other website and corresponding  PropertyIDs as below:

www.germanwebsite.com        :   UA-33333-1
www.spanishwebsite.com        :   UA-44444-1
www.portuguesewebsite.com  :   UA-55555-1
www.ukwebsite.com                  :   UA-66666-1

Google Analytics allows multiple trackers on a web page. A tracker can be assumed as camera set on page. Here we place two trackers / cameras on pages of above mentioned 4 regional websites.

A.    Master/Primary Camera   :  UA-22222-1
B.    Website specific / Secondary Cameras:  UA-33333-1, UA-44444-1 , UA-55555-1, UA-66666-1.

Note: The fundamental code customization with GA asynchronous code to implement roll up property is to create master Tracker: UA-22222-1 and assign a reference name to it, in our example we shall name it as: roll-up-prop

Here we go with actual code customization:

1. www.germanwebsite.com :        UA-33333-1

<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’,’//www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘ UA-22222-1’, {‘name’: ‘ roll-up-prop ‘});
ga(‘create’, ‘ UA-33333-1’);
ga(‘ roll-up-prop’, ‘pageview’);

ga(‘send’, ‘pageview’);
</script>

2. www.spanishwebsite.com        UA-44444-1

<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’,’//www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘ UA-22222-1’, {‘name’: ‘ roll-up-prop ‘});
ga(‘create’, ‘ UA-44444-1’);
ga(‘ roll-up-prop ‘, ‘pageview’);
ga(‘send’, ‘pageview’);
</script>

on similar lines customize the code in www.portuguesewebsite.com    (UA-55555-1) and www.ukwebsite.com (UA-66666-1).
If you customize as I have explained above your roll up property implementation is done !.

Remember, the rolluprop.com is a property name created for the sake of getting a propertyID UA-22222-1. As I have mentioned above you can create virtual propertyID, even though the website does not exist.

**********

 

Subscribe to E-Book
Join over 10000 visitors who are receiving newsletter and learn SEO, SEM and Web Analytics to increase traffic and monetize your website.
We hate spam. Your email address will not be sold or shared with anyone else.