Tracking pages in two separate analytics accounts
-
Hi All,
I'm trying to track some pages on one website in two separate Google Analytics accounts.
Has anybody done this before that could help with the tracking code?
Thanks in advance,
Elias
-
Ok thanks all.
I'm looking at a different solution at the moment.
As I cannot create a new account and the filters won't achieve what I'm trying to achieve.
Thanks for all your help
-
Elias and Himanshu,
Himanshu's and my response are indeed not the same but similar. Himanshu is suggesting actually creating a second profile in GA that requires a second GAQ call.
The way I suggested using a filter would not require a second GAQ call. Either way, you'll have to set up the filters.
My apologies for the discrepancy.
-
Himanshu is right. Depending on your use-case, you can create a new profile (we'll call it profile-B") and I don't think it was mentioned, you can create a filter on that profile that will only include analytics for pages that make it through the filter resulting in "Profile-B".
I may be too much stating the obvious here but these are a few examples of filters I use with my clients for the exact purpose you mention:
- filtering to INCLUDE OR EXCLUDE content based on site path
- filtering to INCLUDE OR EXCLUDE content based on country
- filtering to include content based on search engine visits only
- filtering to INCLUDE OR EXCLUDE content based on ecommerce transaction visits
- filtering to INCLUDE OR EXCLUDE content based on goal success visits
- filtering to INCLUDE OR EXCLUDE content based on ad campaigns
Possibilities are endless depending on use case. I'm happy to help with filters given the parameters.
-
Create a new profile in your account which tracks only those web pages which need to be accessed by another company. Then give the other company access to that profile only (and not to the whole account. A GA account can have multiple profiles, remember!). There is no need to track same web pages through multiple GA accounts.
-
Ha, sorry, not a situation I have come across before, interesting though!
-
Thanks Marcus,
Apologies I don't think I explained the situation very well...
There are two separate companies/websites each with their own GA accounts.
There are some pages on one website that need to be tracked by both accounts. We cannot give both parties access to all data.
Is this more clear?
Usually the code I would use is this:
But I'd like to find the code that would work with the new Asynchronous style tracking
-
Hey Elias
You just set up your Analytics as usual but grant access to another user to view the reports.
Very simple and then the other person can log in and access the full reports in either read only or full access modes.
More details here:
http://www.google.com/support/analytics/bin/answer.py?answer=55500
Hope it helps!
Marcus
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Track PDF's in Google Analytics
Hi Mozzers, Is it possible to track PDF's via Google Analytics/Google tag manager? I'm not only looking for PDF downloads but for the actual activity when someone opens an interactive PDF document. So would it be possible to have onclick events on buttons in the PDF etc... Many thanks!
Reporting & Analytics | | WeAreDigital_BE
Sander0 -
Tracking in Google Analytics
My site has just recently (or maybe not so recently...) had a great deal of https URL's indexed (I was really only able to find this out thanks to the recent update to the GWT Index Status). It appears that Googlebot picked up an ssl somewhere (I already know where) on my site and then proceeded to crawl and index pages with https rather than http. Since I understand the issue, it should be an easy fix. My question is, does Google Analytics support (track) both http AND https for one site, or would I need to set up two different tracking codes for http and https? I figured that I might as well grab some data from the https pages that are indexed before I try and remove them. I've done a little research on using Groupings/Groups but I figured I would reach out to the MOZ community to see if anyone else has worked with a similar issue. Thanks!
Reporting & Analytics | | GalcoIndustrial0 -
Are RSS fees tracked by Google Analytics?
In both the new GA and former version, how are RSS feeds handled by Google Analytics. If not, is there an easy means by which to account for this traffic, in order to have a better picture of traffic. Thanks. Alan
Reporting & Analytics | | ahw0 -
Excluding referral traffic from a specific page Google analytics
Hi, I am trying to exclude from referrals from a particular page i.e. www.domain.com/nothispage within Google analytics, I have tried a couple variations within the advanced filter (Regex etc) section without much luck, could anyone assist ? Updated-trying to do this using a filter for the entire profile. Thanks Marc
Reporting & Analytics | | NRMA0 -
Google Analytics Organic search queries aren't being updated, even though I'm still seeing results in all our typical results pages.
We pushed some new changes to the site and Google Analytics is no longer updating the Organic Search queries listing, even though traffic is consistent and and we're still landing results in all our typical keyword searches. Any ideas?
Reporting & Analytics | | unclekaos0 -
Multipul Analytics codes usage
I need to launch 13 local websites and need to have two analytics codes on each site, one is unique for each site and the other is the same across all sites. any advice on how this is best done?
Reporting & Analytics | | imsmlouis0 -
If I change the URL of a page, but the old page canonicalizes to the new, do I need to change my Analytics goals to get data?
I changed the URLs of some pages recently (because the same thing that affects the internal anchor text also affects the URL - grr...) but considered it not a big deal because even if I looked at the source code of the old URL, the canonical tag was now pointing to the new one. The question is - if I had URL destination goals set up for those URLs in Google Anlaytics, do I now have to change them? Or does Google somehow know that anyone getting to the new URL is the equivalent of someone getting to the old URL because of the canonical tag that exists on the old URL source code? I still do see goal conversions for some of the old URLs even since I changed them - but it could be that people are still somehow finding the old URL somewhere - or that Google only reindexed it a week or so after I made the change. Any light to shed? Thanks in advance, Aviva B
Reporting & Analytics | | debi_zyx0 -
What is the best Wordpress Analytics Plugin to use?
I am installing a new instance of WordPress and want to use Google Analytics. Which Plug-in is the best to use? I am finding several Plug-ins that all seem to do the same thing: Google Analyticator Google Analytics Dashboard Simple Google Analytics Ultimate Google Analytics Wordpress Google Analytics Maybe one of these are not the best? Any recommendations would be appreciated. Thanks!
Reporting & Analytics | | LBike0