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
-
How to change domains in Google Analytics without losing the data
Hi there, We recently changed our domain from .COM to .NET so that all our subdomains from external pages matched. Right now in Google Console we have our new .NET website being tracked, but in GA we are still tracking .COM. It is also causing issues with MOZ crawling our site because of the .COM/.NET discrepancy. My question is what is the best way to change our Google Analytics from .COM to .NET without losing historical data and what considerations do we need to change before implementing this? Our team was concerned that just downloading the old data would be too vast and it we wouldn't be able to continue manipulating it dynamically in GA. Thanks!!
Reporting & Analytics | | cPanel-LLC.0 -
Google Analytics Numbers Are Weird
Hi, I'm having a strange problem from past one month. My website gets about 10k pageviews a month with an average bounce rate of 50%. Lately, I observed a strange thing. The avg time on page of visitors from selected countries is less than 1 second and the bounce rate is zero!! How is this possible? This is happening from past one month and it would be really helpful if you guys could tell me what exactly is happening?? Ive attached a screenshot for better understanding. website url : https://www.specbee.com/ fIAXXgF 3zQuBAN
Reporting & Analytics | | ganesh10 -
Does Google need Analytics installed to create metrics?
Hi Mozers, Does Google know time on site, number of page visits, bounce rate, etc. even if Google Analytics is NOT installed? Does it measure all that stuff anyway, and if you install the GA code on your site, that is so that YOU can see those metrics? OR can Google only see those metrics if you install GA on your site? Thanks! Jane
Reporting & Analytics | | CalamityJane771 -
Site account in Google Analytics
Hello I have a question about my site account. On 2014, during a week, my ID tracking of Google Analytics was removed of the site, in this period the volume of users and sessions is lower than the other weeks. But I don't understand why are the sessions and users still reporting during this period without ID Tracking
Reporting & Analytics | | Arkix0 -
If I install google Analytics, that can affect my SEO.?
I purchased a site that has a lot of Backlinks and when I started to make changes like installing google analytics! i suspect the performance in search engine was getting worst because of that, so I removed.
Reporting & Analytics | | pparma
Now I'm trying MOZ and needs GA, should I install it again??
Maybe it analyces the backlinks and tells google, I don't know, is that possible?0 -
Google analytics - landing pages
Hello, I have a website and it contains landing pages. after tracking and analyzing the data in Google Analytics , I found out that the traffic for the whole site is affected by the visits to the landing page. I mean, the bounce rate is less than one minute. this is because users fill their details in the landing pages and leave my website. to improve my website, I need clear data about the traffic, bounce rate etc. in my website. I also need can you help me solve this problem I thought about create another account in Google Analytics and set it to my websites pages (not including the landing pages). and keep the current code for the landing pages. my question is regarding this: Is it legal to use 2 different GA code (each one of them belong to different account) in the same domain ? can you provide me with more information about Multi Account in Google Analytics, and how can I use it to divide the traffic in my website between the traffic and the data for the landing pages and for the website itself ?
Reporting & Analytics | | JonsonSwartz0 -
Rising in Bing and Yahoo SERP's, but falling in Googles?
We've dropped rankings across the board in Google, not severely but 1 and 2 spot drops and yet increased in rankings in Bing and Yahoo on the same keywords (basically all of them). Is this the sign of a new bad incoming link?
Reporting & Analytics | | absoauto0 -
Google analytics for mobile apps - do we need different id's?
Dear all, if I want to implement Google Analytics for my mobile apps: Do I need different accounts or id's to ensure separate tracking of my website and mobile apps? How did you do it? Thanks!
Reporting & Analytics | | HMK-NL0