AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.4K members online now
4.4K 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

Setting up GA for rollup and individual “site” data collection

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We have a number of “sites” that are not connected but operate off of the same domain — hence my use of quotations — such that the the URL for site 1 would be domain.edu/site1, for site 2, domain.com/site2, etc.  There is no real homepage for the domain — i.e. navigating to domain.edu pulls up a message to go to a specific site.  All of this is behind a firewall (this is educational content for registered students) and driven by Drupal.

We want to set up GA data collection for all domain.edu activity in the aggregate, as well as for the individual “sites” — site 1, site 2, etc.

I’ve created a domain.edu GA account with one property (domain.edu) and its own tracking code, as well as an individual “sites” account with separate properties for the various sites (each with their own tracking code XXXXXXXX-1, XXXXXXXX-2, etc.).

In Drupal, I’ve then inserted into our pages this modified GA Javascript to handle the two tracking codes per site:

//Specific site tracking
  ga('create', 'UA-XXXXXXXX-X’, 'auto');
// Aggregate - all sites tracking code
  ga('create', 'UA-YYYYYYYY-Y’, {'name':'allSites’});
//standard code
  ga('send', 'pageview');
//custom code for allSites
  ga('allSites.send', 'pageview');

I set this up a couple of days ago and we are receiving data for both accounts, but looking at Behavior > Site Content > All Pages in GA, I’m noticing discrepancies between the aggregate and individual site data for the same pages — page views, unique page views, avg, time on page are all different.  I haven’t done a comprehensive, systematic comparison yet, but in one case, the aggregate page view numbers are significantly bigger than the individual count, in another case, the reverse.

I created a test site only I know about yesterday, but the discrepancies continue.

My questions: Am I misreading or missing something?  Shouldn’t these numbers be identical?  Is the lack of an actual domain.edu homepage an issue?  Overall, is this the best way to set things up?

Any and all input much appreciated.

Greg M

1 Expert replyverified_user

Re: Setting up GA for rollup and individual “site” data collection

Top Contributor
# 2
Top Contributor
Hi Greg M,

It sounds like you are doing everything correctly with the way you have implemented the trackers. Have you checked to make sure that you have appropriate filters applied in your comparison? For example, when comparing data in your RU property against one of the sites, you would need to apply a filter to grab data only for a specific subfolder (site 1, site 2, etc.).

Also, don't expect data to have total parity. There will be some small differences.
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

Re: Setting up GA for rollup and individual ?site? data collection

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks, Nicky. I?m relatively new to GA, so I?m glad to hear I?m on the right track from someone with more experience. I haven?t really explored the GA filters yet, but I don?t quite understand why I would have to filter anything out when I?m comparing pageviews, etc. for the same specific page. Again, I?m looking at Behavior > Site Content > All Pages for both. Stats from the individual property (page, page views, unique page views, avg time on page, entrances, bounce rate, exit): [cid:196608F9-65DB-4773-A636-17F6D95F9BC6] And from the aggregate: [cid:551B6BEA-F8A8-4F14-B8EC-3824212FE4EF] To your last point, unique page views and entrances are identical, but that seems to be about it. If this is a filter issue, could you recommend a resource to learn more? Thanks for your help! Greg M