Tool for extracting search queries
-
Hello,
Does anyone know of or have a tool that takes referrer URLs coming from Google which extracts the search query from the URL string?
Thank you
-
Thanks but as I mentioned above I am in Germany so cannott use analytics at all, hence my need to find another way to do this
-
Actually, with Google Analytics you can create a filter to see the search queries that users typed to land o a specific page of your website. It's very simple:
When you have the tracked website selected, on the left column in GA you will see "Custom Reports". Click on it, then click on "Create New Report". From the blue Metrix box select "Site Usage", scroll down to "Visits" and drag and drop it in the first empty "Metrix" box on the right. Now click on the green "Dimensions" Box, click on "Content", select "Page" and drag and drop it in the empty Dimension box. Click on "Traffic Sources", scroll down to "Country/Teritory" and drag this in a sub-dimension to also be able to see it by region.
Hope this helps, good luck!
-
Hey thanks, yeh was just wondering if anyone had a ready made tool as would make things a bit easier. The plan is to use the referral URLs from logfiles to look at search queries that are sending traffic to specific areas of the website (directories/sub-directories etc).
In Germany so cannot use Analytics and webmaster tools does not allow you to filter search queries to different areas of websites
-
Coding this yourself (or having it done by your developer) is a pretty simple job. It requires not much more than reading the 'q' parameter from the URL, which in PHP for example can be done by reading the $_GET['q'] variable.
For what purpose do you plan to use this parameter?
-
Maybe you could describe what you need that data for? Google Analytics normally records that data for natural search visits, but if you are looking to dynamically insert the keywords that requires some code work.
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
-
Does anyone know a way to restore data more than sixteen months old from GSC or extract more than 1000 queries.
Does anyone know a way to restore data more than sixteen months old from GSC or extract more than 1000 queries?
Technical SEO | | RossKernez0 -
Should search pages be indexed?
Hey guys, I've always believed that search pages should be no-indexed but now I'm wondering if there is an argument to index them? Appreciate any thoughts!
Technical SEO | | RebekahVP0 -
HTTP to HTTPS Transition, Large Drop in Search Traffic
My URL is: https://www.seattlecoffeegear.comWe implemented https across the site on Friday. Saturday and Sunday search traffic was normal/slightly higher than normal (in analytics) and slightly down in GWT. Today, it has dropped significantly in both, to about half of normal search traffic. From everything we can see, we implemented this correctly. 301 redirected all http requests to https (and yes, they go to the correct page and not to the homepage 😉 ) Rewrote hardcoded internal links Registered/submitted sitemaps from https in Bing and GWT Used fetch and render to ensure Google could reach the site and also was redirected appropriately from http to https versions Ensured robots.txt does not block https or secure We also use a CDN (though I don't think that impacts anything) and have had no customer issues with accessing or using the website since the transition.Is there anything else I might be missing that could correlate to a drop in search impressions or is this just a waiting game of a few days to let Google sort through the change we've made and reindex everything (it dropped to 0 indexed for a day and is now up to 1744 of our 2180 pages indexed)?Thank you so much for any input!Kaylie
Technical SEO | | Marketing.SCG0 -
Is there a tool to see all redirects?
I'm thinking this is a silly question, but I've never had to deal with it I thought I'd ask. Ok is there a tool out there that will show all the redirects to a domain. I'm working on a project that I keep stumbling on urls that redirect to the site I'm studying. They don't show up in Open Site or ahrefs as linking domains, but they keep popping up on me. Any thoughts?
Technical SEO | | BCutrer0 -
How can I find my Webmaster Tools HTML file?
So, totally amateur hour here, but I can't for the life of me find our HTML verification file for webmaster tools. I see nowhere to look at it in Google Webmaster Tools console, I tried a site:, I googled it, all the info out there is about how to verify a site. Ours is verified, but I need the verification file code to sync up with the Google API and no one seems to have it. Any thoughts?
Technical SEO | | healthgrades0 -
DNS error on webmaster tool
Google webmaster tool is showing DNS error and that is leading to many server error (502,500) almost 50+ in every crawl. Recently Google crawled one of our sub domains that we did not want google to crawl. We blocked it via Robots.txt and also removed all the URL's and since then we are having this issue. Any suggestions how to fix this DNS error? Thanks in advance.
Technical SEO | | tpt.com0 -
Webmaster Tools Site Map Question
I have TLD that has authority and a number of micro-sites built off of the primary domain. All sites relate to the same topic, as I am promoting a destination. The primary site and each micro-site have their own CMS installation, but the domains are mapped accordingly. www.regionalsite.com/ <- primary
Technical SEO | | VERBInteractive
www.regioanlsite.com/theme1/ <- theme 1
www.regioanlsite.com/theme2/ <- theme 2
www.regionalsite.com/theme3/ <- theme 3 Question: Should my XML site map for Webmaster Tools feed all sites off of the primary domain site map or are there penalties for this? Thanks.0