Migrated website but Google Analytics still displays old URL's and none new?!
-
I migrated a website from a .aspx to a .php and hence had to 301 all the old urls to the new php ones. It's been months after and I'm not seeing any of the php pages showing results but I'm still getting results from the old .aspx pages.
Has any one had any experience with this issue or knows what to do?
Many thanks,
-
Hi there
I would make sure you take a look through this migration guide from Moz as it has steps to ensure your site is properly migrated.
From there, I would check the following:
Sitemap
Internal Links
Canonical Tags Change of Address Tool (if necessary)The first three links above could potentially be utilizing old URL structures, so you want to make sure that you change those and they are up to date. The last is for if you changed your domain at all.
Your analytics tag should not be the reason that your new URLs are not appearing in search.
After these steps, I would then go through a backlink audit and make sure that you update any quality backlinks or listings and remove and/or disavow any links that you find to be spammy or irrelevant to your website.
Hope this helps! Good luck!
-
No, as long as not deleting analytics account when you upgrade it is ok, just a code update. That said I am a cautious chap so I would peel out some important data on the off chance... but spend little time on it, just for safety.
-
Hi John,
Thanks for the answer. Just a quick one, will this lose the previous records?
Cheers
-
It seems you are using the old gs.js page tracking on the site. Looking at cogri
Maybe replace the tracking code with the new Analytics.js?Anayltics.js has some new tracking features compared to the old ga.js and might be the reason why you aren't able to see data & statistics.
Available here: https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs
It can take a couple of days for GA to update... as well.
-
Hi John,
Thank you for getting in touch. I had analytics set up before the migration and I have kept the same tracking code for the new site. I figured that it would be ok as the domain and URL's are exactly the same apart from the fact that the old ones had .aspx on the end.
-
Have you set up Analytics on the new site? Just need a bit more info on how you set it up.
.
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 - Referral traffic being reported as Direct traffic
Hi, I have a link on my www homepage to another subdomain website. Both websites are served on https, and have independent Google Analytics properties. However, the traffic from the www site to the subdomain site is being reported as Direct, and not Referral traffic. Any ideas why? See image provided for context... RCn6HER
Reporting & Analytics | | RWesley1 -
How to Analysis which category gives me more revenue from google analytic?
Hello Experts, For Ecommerce site we do have navigation path like Main Category - Subcategory - Products. That means Men as Main Category and then subcategory Cloths, shoes, bags then product in each subcategory. After implementing enhance ecommerce https://developers.google.com/tag-manager/enhanced-ecommerce#product-clicks I am getting this report - "Product Category (Enhanced E-commerce)" in Product Performance section. Now my query is my all products are linked with sub category i.e. cloths, shoes, bags etc so in Product Category (Enhanced E-commerce) I can see Revenue, transaction related to Cloths, shoes, bags etc but how to judge performance of Main categories like Men, Women, Children etc? Because google works with this method i think - name': productObj.name, // Name or ID is required.
Reporting & Analytics | | dsouzac
'id': productObj.id,
'price': productObj.price,
'brand': productObj.brand,
'category': productObj.cat,
'variant': productObj.variant,
'position': productObj.position0 -
Search and Replace filter on Google Analytics?
Hello! On our GA account for one of our clients, we'd like to add a search and replace filter to the Views section of the account. The URL is www.askergoworks.com (it redirects to askergoworks.com), and Google has flagged us to have redundant hostnames. This is why we'd like to add the filter. Would the regular expression be askergoworks.com|www.askergoworks.com ? Any help would be great - I'm not a regex expert, so I really don't how to go about this. Thanks!
Reporting & Analytics | | AGILITY0 -
Has anybody else had unusual /feed crawl errors in GWT on normal url's?
I'm getting crawl error notifications in Google Webmaster tools for pages that do not exist on my sites?! Basically normal URL's with /feed on the end.. http://jobs-transport.co.uk/submit/feed/ http://jobs-transport.co.uk/login/feed Has any body else experienced this problem? I have no idea why this is happening. Simon
Reporting & Analytics | | simmo2350 -
Google Analytics Organic Accuracy?
Hi, On a cool summers day, I was quenching my thirst for SEO Knowledge in the depths of Google analytics, When I stumbled upon a most troublesome sight. I was Browsing the data inside Acquisition->Keywords->Organic and comparing them to Acquisition->Search Engine Optimization->Landing Pages, to find the results quite questionable.. Since Keywords->Organic measure the visits from the organic results, and Search Engine Optimization->Landing Pages measures the clicks onto one of my landing pages from Google, I assumed they should be the same or very close, (besides Keywords->Organic having visits from other search engines) but they were not the same, as a matter of fact it was telling me that Keywords->Organic visits = 1,474, 27.19% of total(5,422) and Search Engine Optimization->Landing Pages, clicks = 1,548 154.80% of total (1000). Even worst the Search Engine Optimization -> Queries clicks = 1,123, 160.43% of total(700). I have been searching, and come up empty handed in the answer so does anyone know why Google is showing me different results and strange numbers that don't make sense? Any information is greatly appreciated?
Reporting & Analytics | | KBB_Digital0 -
How many users completely block Google Analytics cookies ?
Hello everyone! In your experience, how many of your visitors' browsers completely block cookies including those of Google Analytics ?
Reporting & Analytics | | Masoko-T0 -
Localhost:4444 Showing Up in Google Analytics
Hello All, Lately in my Google Analytics account I have noticed a referral source labelled: localhost:4444 The number of visits is really high from this source, but I have no idea (no clue!) what it actually means. Can anyone shed some light on what this is about? Should I be creating some sort of filter to screen out this as a referral source (assuming it is not legitimate)? Many thanks in advance. Cheers!
Reporting & Analytics | | Robert-B0