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
-
Moving our Google Analytics Account to a New Account
My company is building a new website with a new web development company. Our old website development company hosted our Google Analytics account on their account (this was done 13+ years ago, probably a good idea then, but we definitely would've done it differently knowing what we know now). I've been researching how we could move our GA property to a new account owned by us, but according to this article: "There are some circumstances in which you cannot move a property:
Reporting & Analytics | | GreatLegalMarketing
-> The source account and the destination account are not in the same Google Marketing Platform organization. Contact an organization admin to make sure both accounts belong to the same organization." In our case, the source account and the destination account do not belong to the same organization. I may just have to accept that we are losing 13+ years of historical data about our website, and if that's the case, oh well. But, if anyone has an idea how we can export/import our GA data to our new analytics account, I would greatly appreciate it.0 -
Google Analytics unexplainable traffic spike
Viewing this report **Behaviour > Site content > All pages **with primary dimensions of **Page ** and **Page title **are showing different results for one specific page on our site. We noticed a huge spike in pageviews and entrances to that specific page on our site. The user flow report shows traffic going through and from the page (in high volume) from other pages on the site which suggests that it's not the usual case of spam referrals. When I view the report above by page, I get unrealistic data. Over 600% increase in pageviews and over 900% increase in entrances. When I view by page title however, I get realistic results. Can anyone help shed some light on why these two reports will be different? Anyone else seeing similar issues?
Reporting & Analytics | | OptiBacUK0 -
Ecommerce data in universal analytics
Does any have the same issue. We are tracking e-commerce data in GA universal. We are finding that sales are being recorded on the day of the sale and again a few days later. It does only seem to be 1 or 2 sales that do this not all. Does anyone have any suggestions? Much appreciated. David
Reporting & Analytics | | Archers0 -
Blog Post Analytics
Does anyone know of a Wordpress plugin that has similar functionality to the post analytics SEOmoz blog posts include?
Reporting & Analytics | | David_ODonnell0 -
Google Analytics
Good Morning, I am trying to understand 2 issues in Google Analytics. 1. When look at : Traffic Source --> SEO --> Quesrios - i see the impressions column and its always a whole number 1550, 500, 5500, etc.. I never saw (for example) 702, 313, etc... impressions Can anyone explain why and how does it work? 2. In the same report i see my AVG. position for each query, the question is how come i have AVG, position of (290, 230, 190) for some of the queries and still i get clicks on these queries. My guess is that from time to time these queries have better position and the clicks are from these time. Do you familiar with a way to the the distribution of a specific query over time? for example: 1.3.2013 avg position = 4 2.3.2013 avg position = 7 3.3.2013 avg position = 2 4.3.2013 avg position = 8 etc... 3. This report say its for: "Top 1,000 daily queries" - What does it mean? Thank you and sorry for this long question SEOwiseUs
Reporting & Analytics | | iivgi0 -
Google Analytics Tracking Code Queries
Hello, I have taken on a new client who has Google Analytics installed. The tracking code is set to 'single domain'. Recently they added a mobile site using a sub-domain (m.website.com) which means that Google Analytics is not picking up this traffic. I want to revise the account so that I have a master account (raw data) and then profiles for the mobile site, main domain (www.website.com) and one other for a sub-domain that they are using. I am aware that there is mobile specific tracking code however I thought it would be easier (re conversions/goals/eCommerce tracking) to not use this and by changing the account to 'multiple domains' we could also get data for another sub-domain that they are using . My questions are: Am I right to want to use individual profiles over web properties. If not please explain why. When installing the tracking code (where the profile number is changing) I believe that I need to add that code with the changing profile number to the sub-domain sections. So my question is a) is that correct, and b) if I use a profile number on a sub-domain section will the master account still gather the data for the main URL as well as all sub-domains. If I change the master account from using 'single domain' tracking code to 'multiple domain' tracking code will this affect historical data? Will I lose the data? When changing from 'single domain' tracking to 'multiple domain' tracking does this affect eCommerce tracking? Or do we only need to be adding the additional lines of tracking code that allow sub-domains to be tracked? The web developers are using asynchronous code however half is in the and the other half is at the bottom of the source code. Given that traffic is being reported in the Google Analytics account should I have any concerns that the code is split? I have done a lot of reading but seem to be going around in circles, so your help is much appreciated! Thanks,
Reporting & Analytics | | Unity
Dinny0 -
Google Analytics and backlinking
Let say I have my main site and my secondary site that is optimized for a slightly different set of keywords (nonetheless still relevant to my main site). I have several links from a secondary site to my main site. Secondary site is on a different C-block. Do you ladies and gentlemen think that if I put both websites under the same google analytics account, Google is going to penalize me or remove some of the juice that is flowing from secondary site to the main site because it would detect through GA that both sites belong to the same entity?
Reporting & Analytics | | SirMax0 -
Google analytics tracking
Is their a built-in or easy way to track the amount of times an exit link is clicked on a page and show that with other links of the page. For instance: I had a page with several external ad links on it and I want to track how many each got and rank them in google analytics
Reporting & Analytics | | insitegoogle0