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
-
Cross domain tracking Google Analytics
Hi there, Got a question on cross domain tracking: We have a couple of TLD's to serve localized content to our visitors, next to our main .com TLD where our app is running as well in a subdomain. Situation is this: Local sites:
Reporting & Analytics | | jorisbrabants
marketingsite.be
marketingsite.com.br
marketingsite.fr Main site: marketingsite.com
app.marketingsite.com Conversion gets triggered when somebody ends up in app.marketingsite.com/firstuse for example. People can sign up at the local site filling in their email but they end up in app.marketingsite.com/firstuse Reading this article on cross domain tracking I'm getting a bit confused on the setup of the tracking code itself. The sample code provided shows these two lines: ga('require', 'linker'); ga('linker:autoLink', ['maindomain.com','targetdomain.com']); Now the question 🙂 Is it correct when I think that maindomain should be replaced with our local TLD's on every one of those, and that targetdomain is where the conversion happens? In this case the .com site?0 -
Www.google-analytics.com/analytics.js what is this link doing on my website?
Hello Expert, I am using google tag manager and google analytic is already configured in that now i just want to confirm when i do inspect element of my home page in that i can see this link - http://www.google-analytics.com/analytics.js where as if i do view source of my page then it is not visible. so what is this link - www.google-analytics.com/analytics.js and what role it play? Do we really need this link to be present on website? Regards, Raghuvinder
Reporting & Analytics | | raghuvinder0 -
Conflicting numbers in Google Analytics
I am getting 2 completely different numbers in Google Analytics.According to the graph on my Dashboard organic traffic decreased ~40% comparing June 7 -> June 6.However, when I dig a bit deeper and look at the 2 dates specifically compared to each other I get a `3% increase in traffic.When I look at the traffic on just June 7, I get the number indicating the increase.Any ideas or someone getting similar conflicting numbers??
Reporting & Analytics | | theLotter0 -
Google Analytics: Okay to change domain?
So, we are a long time user of GA and we're planning a domain change.
Reporting & Analytics | | jmueller0823
Does anyone know if I can 'change the domain' in GA so we don't lose our past data?
Thanks!0 -
Google Analytics Myth?
Dear Moz-members, I have read several discussions regarding not to implement Google analytics on your website. Reason: Google is tracking your website behavior, for example you have a high bounce rate it will affect your rankings negative. See it as we are opening the doors too much to Google so it can have a negative impact on your online business, especially when your site is new and you are still building your credit. Because of this i have not chosen to install GA. What is your experience with this? Most of the time if i read analytics posts at Seomoz, people do have GA installed. I am also in doubt whether to switch over at GA, but then again mine site is relative new and i am still working on the negative bounce rate/daily visitors. Would like to hear from you pro's whether this is a myth or not 🙂 Thanks!
Reporting & Analytics | | mcweb0 -
Homepage on page 2 for site:domain
Hi all, today I noticed that our homepage is located on page 2 if you do the site:domain query. As far as I know, the site:domain results mirror the importance in the eyes of Google. Some time ago, our homepage was the first result. I have to say that we do not often have changing elements or new content on the homepage, it is more like a static page. But still the most linked to page on the domain... What conclusion can I come to? Is our homepage of lower importance to Google than some time ago? Is it a problem for SEO? As we backed down our advertisments, the traffic from branded keywords fell the last months - could this be an explanation? And, most important: do I have to worry? (Besides, the SEO-traffic is fine and growing..)
Reporting & Analytics | | accessKellyOCG0 -
Bug in Virtual Page view javascript
I am trying to learn the basics of tracking outbound links with this javascript code set up on this url http://queenofhats.com/links.php I think I have a bug in my javascript that tracks clicks on an outbound link. http://www.portlandmaine.com When A person clicks on the "Portland Maine" link, in theory it should create a virtual pageload of a page called "portland_maine". I have clicked on the link, but when I filter on "portland" in the Top Content section of Google Analyitcs, there are is no record of the click. So I think my javascript code has a bug. Any comment on the javascript would be most welcome. I just noticed that I have \ before /links. Is the "" the source of the problem? Thanks!!
Reporting & Analytics | | dsexton100 -
Best Practices For Google Analytics
Does anyone have any recommendations or resources for best practices in using Google Analytics. Specifically, as they relate to SEO and managing and monitoring several websites (i.e. registering/managing multiple accounts vs. master account, etc).
Reporting & Analytics | | Gyi0