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
-
More 'New users' than 'Users' in Google Analytics
Hey Mozzers, I'm seeing more 'New users' than 'Users' in Google Analytics (see screenshot). This is over a 3 year time period. Any idea why new users would be greater than users? Thanks! 6lYmU0j
Reporting & Analytics | | RWesley0 -
"Display" referrals on google analytics
We have just had 200+ visits on the 'Display' channel within 5 minutes - these referrals are from all over the world and this is very out the ordinary for our business - should we be concerned? 9cHllwW
Reporting & Analytics | | RayflexGroup0 -
Query on google analytic benchmarking report
Hi All, First I select My Industry Vertical - ABCD then I select Region - US ( all region) then size by daily session - 10000-99999 finally reports appears "Blank" but when I decrease daily session from 10000-99999 to 1000-4999 or less then report is perfect. So what does it mean? My Avg daily session is 70k to 80k. So how to analysis benchmarking in this case? Thanks!
Reporting & Analytics | | pragnesh96390 -
Is there an efficient way to block/filter referral spam in Google Analytics for a large network of websites?
Hello, everyone - I'm looking for guidance on how to block or filter referral spam in Google Analytics. But I'm needing to block for an entire network of Wordpress websites. We have two networks which total over 2,500 websites. We are currently blocking sites we find out about via htaccess. This works, but only after we see we are getting hit with the spam. Updating 2,500+ Google Analytics accounts with filtering is not an ideal option due to the time factor and the fact that new bots coming out almost daily. We can continue the htaccess method, but does anyone have any other ideas for blocking referral spam for a large network of sites? These are the other ideas we have. 1. Blocking all traffic from Russia and China based up subnets. We know many will still get through, but it should block 50% of it, we hope.
Reporting & Analytics | | copyjack
2. Moving sites to Google Tag manager. This is a huge tasks but we have seen that sites using Tag Manager are not effected, at least for now. Other ideas are appreciated!0 -
Question re Google Analytics and its more accurate alternatives
Hi guys There are two main issues we have with Google Analytics, and I'd really appreciate if anyone has the time to give an answer to that. We completely miss organic traffic data before 7/22/2013 although our account is active since 2005. Any thoughts on that? Is it the not provided move that swiped out all data or something else? Even for the data we do have there is lots of inaccuracies, and we are thinking on switching or at least adding a new analytics software, any recommendations? (FYI, it turns out we do not keep access logs on the server for more than 2 months, and we might fix that for future references, but now we are looking for external solution). Any help will be much appreciated Thanks Lily
Reporting & Analytics | | wspwsp0 -
Google Analytics - New account creation broken
Is it just me or is the new Google Account Creation button not working. After i set it up, it just simply doesn't save.
Reporting & Analytics | | TheGrid0 -
Google's New Privacy Policy and Analytics
Does anybody know if Google's new privacy policy allows it to use data gathered by Analytics to be used as a ranking factor in the SERPs?
Reporting & Analytics | | Jolora0 -
Should you get a new Google Analytics account if your site has a new domain after a site redesign/new development?
We recently developed a new site for a client and they have opted to move forward with a domain change. Should we create a new Google Analytics account for the new site?
Reporting & Analytics | | TheOceanAgency0