Setting Up Google Analytics for domains with 301
-
I have a client with a google analytics account that is a mess.
domainb.com 302's to domaina.com
domainc.com 302's to domaina.com
domaind.com 302's to domaina.com
I thought the client was doing 301s on all these domains to the primary domain. I have logged into there analytics account and found data is being tracked on the other domains i.e domainb,c,d.com etc. How is it possible that google analytics is tracking data on these domains when no analytics code has been created and the urls are redirecting to domaina.com? Also there are not sites on these domains so for webmaster tools should I enable domain verification through a cname on the dns?
Also I can I best setup a way to track traffic coming from say domainb.com? Whats the best step by step guide to use to set this up.
-
When you say data is showing up - what kind of data? Referring data? Or actual pageviews?
-
Any ideas why/how the domainb.com/domainc.com/domaind.com is showing data on analytics even though they are 302s (and one is 301) to domaina.com?
Does that make sense?
-
Yeah I assumed that .... so why is domainb,c,d showing traffic on analytics when there are not sites/code for those domains as they just 302 to domaina.com
-
You just need to setup analytics for domaina.com.
All traffic coming fron b,c,e will shown as referring traffic in domaina.com's analytics report.
Or read full solution here: http://www.lanevance.com/web/web-development/tracking-301-redirects-with-google-analytics/
Step By Step: http://avlmarketing.com/623/tracking-traffic-redirected-domain/
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
-
Google + and Schema
I've noticed with a few of the restaurant clients I work with that Schema isn't contributing at all to their SERP -- their Google + page is. Is there any way to have more control over what Google is pulling to help make UX better? I.e. showing photos of the restaurant without a logo, etc.
Intermediate & Advanced SEO | | Anti-Alex0 -
Where/how do you set up 301 redirects when keeping the same domain and not preserving the filename?
Hi there, I'm just reaching to to ask for some help in understanding where 301 redirects should be set up on a website when keeping the same domain but not preserving the original filenames? Essentially what is happening is an old website is being completely overhauled and brought up to date from a technical and usability standpoint. While the SEO isn't great naturally many of the pages have been indexed by google over time. A few pages have decent statistics and I don't want to lose the juice from them, but they do still need a lot of improving. So my question is this, would all the redirection take place in the .htaccess file only in this case? From reading here on Moz I think this is the case, but I need to confirm that. I was reading this article which has thrown me slightly: https://moz.com/learn/seo/redirection but this seems more complex as the website was actually moving domains. Open to any insight and if you need further clarification or information let me know.
Intermediate & Advanced SEO | | SEODarren0 -
UPS bought a domain that was blacklisted and now we cant rank in Google
1. We have the site Holidayshuahin.com Apparently Holidayshuahin.com is on a blacklist of barracuda we think this happens when somonelse owned this domain. What does this mean for our Google rankings today? We did not optimise the site for SEO but i think it should still show up somewhere in top 100 as there are not that many pages in the niche. holidays hua hin What should we do change domain name? 2. We have 346 links from Holtidayshuahin.com to our own site Dreamestatehuahinc.om that we do not spend time to optimize on. Dreamestatehuahin.com Is not ranking as good as we expected could this have any thing to about these backlinks from our blacklisted holidayshuahin.com site? Also when so many links, should i make them no follow link, what would be best for the link profile of dreamestatehuahin.com in context of links from holidayhuahin.com Look forward for your answers thank you
Intermediate & Advanced SEO | | nm19770 -
Google Tag Manager
Has anyone used Google Tag Manager and do you feel it is worth it?
Intermediate & Advanced SEO | | ChristinaRadisic0 -
Redirect ruined domain to new domain without passing link juice
A new client has a domain which has been hammered by bad links, updates etc and it's basically on its arse because of previous SEO guys. They have various domains for their business (brand.com, brand.co.uk) and want to use a fresh domain and take it from there. Their current domain is brand.com (the ruined one). They're not bothered about the rankings for brand.com but they want to redirect brand.com to brand.co.uk so that previous clients can find them easily. Would a 302 redirect work for this? I don't want to set up a 301 redirect as I don't want any of the crappy links pointing across. Thanks!
Intermediate & Advanced SEO | | jasonwdexter0 -
301 a PDF?
Hi Website A is moving to Website B. Website A has a number of PDFs - obviously I cant do a '301 redirect' on them. Any suggestions what to do with the PDFs? Many thanks in advance Nigel
Intermediate & Advanced SEO | | Richard5550 -
Do search engines only count links that have google analytics?
I am reading a thread right now and I came across this statement: Search engines can view clicks only if websites have Google analytics or some toolbar installed. Obviously that's not the case with over 50% of the websites. That's why I don't agree with your comment. True or False?
Intermediate & Advanced SEO | | SEODinosaur0 -
Google.ca vs Google.com Ranking
I have a site I would like to rank high for particular keywords in the Google.ca searches and don't particularly care about the Google.com searches (it's a Canadian service). I have logged into Google Webmaster Tools and targeted Canada. Currently my site is ranking on the third page for my desired keywords on Google.com, but is on the 20th page for Google.ca. Previously this change happened quite quickly -- within 4 weeks -- but it doesn't seem to be taking here (12 weeks out and counting). My optimization seems to be fine since I'm ranking well on Google.com: not sure why it's not translating to Google.ca. Any help or thoughts would be appreciated.
Intermediate & Advanced SEO | | seorm0