Whether you’re a seasoned SEO professional or just dipping your toes into the world of search engine optimization, you’ve undoubtedly recognized the importance of Google Search Console (GSC). This powerful tool provides critical insights into website performance, offering a wealth of data that informs strategy and execution. The more efficiently you can navigate this tool, the more effectively you can enhance your website’s performance.
One particular area of interest within Google Search Console is the ability to review data specific to individual URLs. However, the process of checking URL-specific data often involves several steps that can disrupt your workflow. But what if there was a more streamlined way to access this data?
That’s where this handy JavaScript bookmarklet I have created comes in! With a simple click, you can automatically check a specific URL’s performance data in Google Search Console.
Accessing URL-specific data in Google Search Console typically involves manually copying the URL, navigating to the GSC, going to the Performance report, and pasting the URL into the “Page” filter. A bookmarklet simplifies this process, reducing it to a single click.
So how does this bookmarklet work, and how can you set one up for yourself?
Setting Up Your Google Search Console Bookmarklet
Step 1: Create the Bookmarklet Code
The first step involves generating a JavaScript code that automatically redirects you to the GSC Performance report for a specific URL. Here is a generic version of the bookmarklet code:
javascript:(function() {
var url = window.location.href;
var searchConsoleURL = 'https://search.google.com/search-console/performance/search-analytics?resource_id=<YOUR-DOMAIN>&breakdown=query&page=!%27;
window.location.href = searchConsoleURL + encodeURIComponent(url);
})();
Make sure to replace with your actual domain, e.g., sc-domain:https://www.yourwebsite.com.
For instance, if your main domain is The New York Times (www.nytimes.com), then your bookmarklet code should look like this:
javascript:(function() {
var url = window.location.href;
var searchConsoleURL = 'https://search.google.com/search-console/performance/search-analytics?resource_id=www.nytimes.com&breakdown=query&page=!%27;
window.location.href = searchConsoleURL + encodeURIComponent(url);
})();
Step 2: Add the Bookmarklet to Your Browser
After generating the code, the next step is to add it to your browser as a bookmarklet.
- Make sure your bookmarks bar is visible. If not, click the three dots in the top-right corner of Chrome, hover over ‘Bookmarks’, and click ‘Show bookmarks bar’.
- Right-click on the bookmarks bar, and select ‘Add page…’.
- In the ‘Name’ field, enter something like ‘GSC URL Checker’.
- Paste the JavaScript code into the ‘URL’ field.
- Click ‘Save’.
Using the Google Search Console Bookmarklet
Once you’ve set up your bookmarklet, using it is straightforward. When you’re on a page whose data you want to view in Google Search Console, simply click the bookmarklet in your bookmarks bar. You’ll automatically be redirected to the GSC Performance report for the current page’s URL.
Remember that, due to Google Search Console’s setup, you’ll still need to manually paste the URL into the “Page” filter to see the data for the specific URL.
Google Search Console is a powerful tool, and this bookmarklet allows you to leverage its insights with a single click. This JavaScript bookmarklet, created by Lorenzo Solis Gomez, is a fantastic time-saving shortcut for all SEO professionals, allowing you to access URL-specific data efficiently and seamlessly.
By integrating this bookmarklet into your SEO workflow, you can keep your focus where it needs to be: on optimizing your website’s performance and enhancing your search engine visibility.