The URL parameter configuration tool in the Google Search Console is an SEO’s dream; it picks up the deepest parameters that many crawlers fail to find. It’s a list of opportunities to close up duplicate content caused by parameters, but that list isn’t the easiest to get to, and it’s time consuming to extract when you have anything over 50 parameters.
Instead of having to click through 100’s of URL parameters and find example URLs like so:
Aaron developed a handy script that will extract all the parameters and an example URL, and display it on the screen for you to copy and paste to your heart’s delight:
Pretty cool, right? No, you can’t have Aaron.
How to install the bookmarklet and run the script within 2 minutes:
1) Head over to Google Search Console
2) Ensure you have unrestricted access on the site you’re working on, or this won’t work. If you see the restricted access message in the top right for the site in question, get the administrator to at least give you full temporary access.
3) Head over to the Crawl > URL Parameters Report. The more results you show by default, the more extraction you’ll get, but it all depends on how many parameters are listed there.
4) Either copy the code from the script located here and drag it into your bookmark bar, or you can create a new bookmark and paste the code in directly.
5) Get back to your Search Console URL parameter report and click on the new bookmark you’ve just created.
6) You’ll end up with an extraction box you can easily copy from and paste into your spreadsheets.
1) Why isn’t the script working?
2) How many example URLs will it extract?
As many as are shown on the screen. The maximum you can view at a time is 500; if you have more than 500 you’ll need to navigate to page 2 and run the script again.
3) What do I do with these examples once I have them?
Crawl them using your favourite SEO crawler, we recommend Screaming Frog. The idea is to check the directives, such as Noindex or canonical to see if you’ve resolved the parameter issues, if they are even issues to begin with.
4) Do you store any of my data?
Let us know what you think @definemg.
Leave a reply