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
-
Analytics Tracking in China
I am setting up a Chinese domain and I was wondering if anyone has experience with using Google Analytics for tracking in the country and if it really works or if Baidu is the better solution for the website. The website will be hosted in the US so I don't know if that makes any difference with getting around "The Great Firewall". I would prefer to us GA if possible because I am extremely familiar with the platform but I am more concerned with getting accurate tracking data for the site. Thank you in advance and any help would be greatly appreciated. Brooke
Reporting & Analytics | | Ryan_Henry0 -
Universal Analytics & Google Tag Manager - Track URLs that include hashes
Does anyone have any experience tracking URLs that include hashes (#) using Universal Analytics and Google Tag Manager? Can it be done using GTM's container for UA, using the "more settings" options? Or building another tag to work with the GTM UA container? The fallback I'm considering is implementing the UA code in GTM for every page as Custom HTML with the "ga('send', 'pageview', location.pathname + location.search + location.hash);" solution, rather than GTM's specialized UA tag. I'm not yet sure what problems may arise from that, if any. Thanks in advance.
Reporting & Analytics | | 352inc0 -
Analytics - content performance
Hi guys, is there any way to group specific pages together in analytics and just see how they have peroformed visit wise, etc? I need to group some resort guides all with different names, it's tedious going through each one manually. Help much appreciated as always!
Reporting & Analytics | | pauledwards0 -
If I am changing my domain for my website and want to keep using the same Google Analytics account to keep the data from the old domain. How should I proceed?
If I am changing my domain for my website and want to keep using the same Google Analytics account to keep the data from the old domain. How should I proceed? Do I have to start a new Google Analytics account for the new domain? If so how do I keep the old data? Or can I use the same GA account? Thank you.
Reporting & Analytics | | brianhughes1 -
Google Analytics - Tracking a Goal from 1 Domain to Another
Hi there, been combing this page for some answers - https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite but can't seem to figure it out. Scenario - Site A Site B Currently have 2 different GA accounts set up on each. Is it possible to Track a Goal that happens on Site B, that comes from Site A - In Site A Reports? So say, Site A has a Newsletter, directing them to Site A but promoting Site B - i'd like to track the effectiveness of the newsletter. Site A is running a white label of Site B service. Thoughts? Cheers
Reporting & Analytics | | IsHot0 -
Best practices to track blog.mydomain.com in Google Analytics?
What is the best practice in Google Analytics? Tracking blog.mydomain.com + mydomain.com under the same profile? Or creating separate profiles for each blog.mydomain.com and mydomain.com? Thanks!
Reporting & Analytics | | gerardoH0 -
Un-link Google Analytics
I have set the wrong account/password details for one of my campaigns. How do I 'step back' and choose the correct settings please? Thanks Ian
Reporting & Analytics | | driansmith0 -
Regex in Analytics for longtail content
I have spent quit some time now, trying to figure this out. I wannt to segment landingoage traffic to the longtail content. That's content in the 3rd or 4th subdirectorylevel. I would like to do that by saying google: "Just show me traffic that arrives on landingpages with 3 OR 4 slashes "/" But I can't get a solution, can anybody help in the seoMOZ community?
Reporting & Analytics | | viventuraSEO0