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
-
Google Analytics Campaign Tracking overriding each other
Howdy, fellow mozzers. So, here is the situation: Let's say someone comes to the website through Organic Google Search, and first thing they see is the banner on the website, on a click of which it takes you to a promotional landing page. I have this banner being tracked with GA campaigns. Now, here are my questions: If that user makes a purchase, which source / medium it will be assigned to? Organic/google or website/banner? (as far as i understand it assigns it to website/banner) If that's the case, is there way to find out afterwords where the website/banner sessions came initially from? If there is no such way, how shall i setup the tracking to be able to see wherre the initial visit to the website came from, yet also track how many people clicked on the banner and made a purchase? Thanks 🙂
Reporting & Analytics | | DmitriiK0 -
Two of Four Google Analytics Views Not Showing Data
Question for you MOZ friends: We added two new views about a week ago, the same views that we have added for more than 50 Accounts, and they are not showing any data. The views are for 'Filtered Traffic' (no IPs or spam) and 'Organic Only' including only the organic medium. Any ideas why this may not be working? First time we've come across this and couldn't find much help researching it... Thanks as always! street%20ga_zpsorfdnemi.png
Reporting & Analytics | | ReunionMarketing0 -
Is there a way to apply the same google analytics filter to multiple properties?
I manage WordPress multiple sites for my clients. Some of these clients are SEO customers. One issue I have with the analytics reports is the occurrence of spam and ghost spam. I know how to create filters to block however there are always more and more. Is there away to export the filter and import it to all the other properties i manage? Or do they just have to be done manually every time i need to block spam?
Reporting & Analytics | | donsilvernail1 -
Conflicting data in Google Analytics
Hi Guys I've been looking at the data for a client in Google analytics and I was wondering if anyone knows why some of the data doesn't tally up. In my case its the following: Under Aquisition
Reporting & Analytics | | Relative
No of Sessions for a Keyword shown in Organic Search tab (compared to)
No of Clicks for a Query in the Search Engine Optimisation tab For example, for a brand term, Google are showing 17 Sessions in Organic Search.
For the same term Google are showing 90 Clicks in the Queries section of Search Engine Optimisation OK, we know that Google are a little cloak and dagger regarding keyword data but surely Sessions and Clicks for the same keyword should be identical unless I'm missing something.0 -
Google Analytics Real Time Not Working! :(
Hello Everyone, Today, the real time feature in my google analytics stopped working. I am able to see that traffic is visiting my site, but not in real time. The real time count is usually at 0. But, there are some instances where real time will come back online, but there will be only 1 unique visitor. At any given time, our website usually has 20 visitors or so..Has anyone encountered this issue? Where should i start looking for fixes? What are the possible problems? Thanks!
Reporting & Analytics | | KarlMarxTheBear0 -
Google Analytics Organic Keyword (Not Provided) Alternative Hacks?
I'm sure everyone is sick of the (Not Provided) keywords because I know I am, and Google reckons that you should only see 10% or less (I'm currently around 13% and growing). I am seeking alternatives or hacks that will help display the keywords? If you have a hack to actually display the keywords, please share it your ideas and thoughts? I recently implemented a hack that will show the landing page of the keywords which is better than nothing. But as an eCommerce site, I have about 10% of my transactions which not provided, knowing the keywords would really help. Would love to hear your thoughts?
Reporting & Analytics | | upick-1623911 -
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 -
Google URL Builder Extension showing up as indexed pages.
Hello, I was reviewing my PRO member campaign report. I see that I am getting warnings for too long of URLs. However, these URLs are my website URL with the Google URL builder tracking code that I set up for my marketing campaings. Why are these being indexed? For example: www.website.com/?utm_source=Oct+Newsletter&utm_medium=e.... Thank you, Kristen
Reporting & Analytics | | KLFeichtner0