Easily see all 'Google-selected canonical' pages

Phillis86

Registered Member
Joined
Aug 2, 2018
Messages
70
Reaction score
18
I've got a com and .co.uk site with the exact same content (long story) and there's separated with canonical tags. the .com version is the x-default.

Google doesn't honour all of those tags though, and some of the .com pages are indexed in the UK.

My site has loads of URLs, and I can't copy/paste each URL into GSC to see what tags are being honoured and which aren't. Is there a quick(er) way to see what pages have honoured tags and which ones don't?

Cheers.
 
You can do this with Inspection GSC API
https://developers.google.com/webmaster-tools/v1/urlInspection.index/urlInspection.indexBy simply running a loop with all your URLS and extracting data from each query (UrlInspectionResult), googleCanonical property.

I have absolutely no idea how to use an API - there's no tool that can punch out a CSV or something?

But let me ask, why would you care?

We have several ccTLDs, and we're entertaining the idea of merging all those domains. I want to show that a majority of the content on our .co.uk domain isn't being shown in the UK due to Google not honouring our canonical tags, so we need to either merge to domains or change the way we analyse data.
 
We have several ccTLDs, and we're entertaining the idea of merging all those domains. I want to show that a majority of the content on our .co.uk domain isn't being shown in the UK due to Google not honouring our canonical tags, so we need to either merge to domains or change the way we analyse data.
But this is just a matter of time, generally the pages that doesn't honor are the pages that are less crawled, probably because they have less "lab traffic". So I would not care much about them.

With a CSV there could be a self-made "tool" that precisely could make use of such API. I'm uncertain if there is such specific tool for such specific use case scenario.
 
But this is just a matter of time, generally the pages that doesn't honor are the pages that are less crawled, probably because they have less "lab traffic". So I would not care much about them.

With a CSV there could be a self-made "tool" that precisely could make use of such API. I'm uncertain if there is such specific tool for such specific use case scenario.

The canonical tags have been in place since 2019 and still haven't been honoured :D it's a bit of a clust***uck at the moment. If there's no easy way, I guess I'll have to spend my afternoon working on it!

Thanks heaps!
 
Back
Top