Tracking analytics on several domains
-
Hello,
I am looking for some advice.
I am working with a real estate client. They have a main website, and then several separate agent websites. The agent sites share some content with the main site, as well as having some unique content.
My question is what is the best way to track visitors? Should I have separate Google Analytics accounts for each site, or should I use one account and separate profiles?
-
When setting up Google Analytics you can specify that you want to track multiple domains.
1. Put this into the head of your document (noting the bold lines)
2. For links you want to track you'll need to use the _link function to track links between the domains. Please note that your analytics tracking code needs to be in the header for this to work, because you need access to to **_gat._getTracker. **If your current links look like:
Then change them to:
onclick="pageTracker._link(this.href); return false;">Login
3. If you send information between domains using forms, you'll need to use the _linkByPost function.
<form action="/action/here.php" method="post" <strong="">onSubmit="javascript:pageTracker._linkByPost(this)">
This will work for GET and POST methods
4. By default, the data in your google analytics reports will only include the Request URI (Requested page), not the domain name. If you'd like to see the domain names in your reports, you can create an Advanced filter for your profile with the following settings:
Filter Type : Custom filter > Advanced
Field A : Hostname Extract A : (.)
Field B : Request URI
Extract B : (.)
Output To : Request URI
Constructor : $A1$B1</form>
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
-
Subdomain vs Domain
I have a single product website running in a one page layout
Reporting & Analytics | | Roman-Delcarmen
my web have some internal pages such as, terms and conditions, policies and so on.
But in order to get a better ranking I decided to create a blog in the website, but my IT team told me that we can do it but in a subdomain.
The main domain use cakephp with a configuration oriented to security ( we had bad experiences with normal cms or ecommerces) So the structure of the website will this one www.mystore.com for the ecommerce blog.mystore.com for the blog So my questions are:
How is going to affect my seo?
Is there any difference betwen mystore/blog.com vs blog.mystore.com?
Wich is the best option for Google Analitycs / Search Console a single property or 2 properties? If you know some post or tutorial related with my question will be appreciated Thanks Guys1 -
Referral issue in Google analytics
We have an eCommerce website that counts paypal as a referral source in Analytics. The site takes people to Paypal to make a payment and then back to the website to a Thank You page once that payment has been made. Due to this, Analytics sees this as a conversion that has come from Paypal, and also records it as a referral source, when we know this is not really the case. This also distorts the data in analytics and prohibits us from clearly seeing which channels sales have come from. Is there anyway in Analytics to include Paypal as a part of the website so that it does not record Paypal as a separate referral website?
Reporting & Analytics | | Gavo0 -
Linking My Google analytics with visual.ly
Hello, I have a quick question: Is it secure and safe to link my Google Analytics account with Visual.ly here's the link: https://create.visual.ly/graphic/google-analytics I want to create easy-to-understand report from Google Analytics and if you have any experience with this service can you share it with me please. Thanks.
Reporting & Analytics | | JonsonSwartz0 -
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 -
How do i get Social Media Actions Tracked in GA
Greetings from 17 degrees C wetherby UK 🙂 http://i216.photobucket.com/albums/cc53/zymurgy_bucket/how-do-get-this.jpg The above url pints to dat I'd love to see in my Google analytics account but instead all i can see is this:
Reporting & Analytics | | Nightwing
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/no-socail-media-engagementcopy.jpg What i really want to measure is Facebook Likes etc not just referral traffic from social media sites. So my question is please... "Do i have to add additional tracking code to Google analytics as explained here - https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSocial " Thanks in advance,
David0 -
How to track what people type on my text boxes on Google Analytics?
Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?
Reporting & Analytics | | ivan.precisodisso0 -
What is other in analytics
Hello, I am in Google Analytics and I am looking at my visitors report which is segmented into new, returning, and other. How could someone possibly be other - they are either new or returning right? Please help!
Reporting & Analytics | | digitalops0 -
What analytics program is best for a small business?
Of course Google analytics is good. I tried getclicky.com. Are there any other analytics programs that are better that are also affordable? What do you use?
Reporting & Analytics | | DallasBonsai0