Analytics
4.7K members online now
4.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Help to set up roll up reporting in GA

[ Edited ]
Explorer ✭ ✭ ✭
# 1
Explorer ✭ ✭ ✭

Hello ALL,

 
I have tried to implement the roll up reporting in GA standard, but failed.Can any one please specify where I go wrong it will help me to learn more. I have created 2 blogs.I used in blogger.
 
 
One roll up property url is:http://myrollupblog.blogspot.in (UA-76318690-1)
 
Source property  url is:http://mysourceblog1.blogspot.in (UA-76318690-2)
 
 
Analytics Code implemented  head section of  source property is below:
 
<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-76318690-1',{'name':'rollupProperty’}); 
 
 ga('create', 'UA-76318690-2'); 
 
ga ('rollupProperty','pageview');
 
ga('send','pageview');
 
 
 
</script>
 
----------------------------------------------------------
Analytics Code implemented  head section of  roll up  property is below:
 
 
<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-76318690-1', 'auto');
 
 ga('send','pageview');
 
 
 
</script>
 
------------------------------------------------------------------------------------------------------------
 
 
 
But it is not working.When I am sending hits to :http://mysourceblog1.blogspot.in    in the source property, the hits are not counted in the analytics property(UA-76318690-2) in real time not also in analytics account of real time in the roll up property (UA-76318690-1) .
 
 
What is going on?
 
Am i WRONG IN THE CODE some where please help
1 Expert replyverified_user

Re: Help to set up roll up reporting in GA

Top Contributor
# 2
Top Contributor

Hi Soumik,

 

This line

 

ga ('rollupProperty','pageview');

is incorrect. It should be

ga('rollupProperty.send', 'pageview');

And any other method you call for this property should be prepended with 'rollupProperty'.

 

Hope this helps.

Nicky Yuen, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.
Find me on: Google+ | LinkedIn