Magento Site Search and Google Analytics tracking

Magento Site Search and Google Analytics tracking

Google Analytics has always shown you how people search to find your site. With Site Search, you can now see how people search your site once they are already on it. This is a goldmine of information because every time visitors search, they literally tell you in their own words what they are looking for.


How do I set up Site Search tracking for my Analytics profile?

Step 1. Log in to your Google Analytics account.

Step 2. Go to: “Analytics Settings > Profile Settings > Edit Profile Information” and enter Magento site search query parameter “q” (GET parameter) in the input filed provided.
magento google analitics setup site search

Then the Site Search reports appear within the Content section.
site search in analytics

You can read more about Site Search here. If you wish to know how to properly set-up Analytics on your Magento site, read this.

You made it all the way down here so you must have enjoyed this post! You may also like:

How To Connect Google Analytics 4 To Magento 2 Bojan Mareljic
Bojan Mareljic, | 35

How To Connect Google Analytics 4 To Magento 2

Track validation errors on Magento forms using Google Analytics Nikola Stojiljkovic
Nikola Stojiljkovic, | 2

Track validation errors on Magento forms using Google Analytics

3 actionable Analytics tips that will help you boost your store’s sales today Toni Anicic
Toni Anicic, | 2

3 actionable Analytics tips that will help you boost your store’s sales today

6 comments

  1. Internal site search reports are one of the most powerful features in GA for ecommerce merchants. But I don’t think many people realise just how useful they are.

    These reports can help you with your merchandising and category structure. They’re also great for SEO insights into the language people use. They also alert you to new products which your customers think you might (should!) stock.

  2. This surely works, you have to wait sometime, while analytics processing data, and “q” is get variable ….

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.