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.

Domagoj Potkoc

- Backend Developer

Domagoj is Magento Certified Developer who enjoys playing tennis after long hours in front of computer screen.

Read more posts by Domagoj / Visit Domagoj's profile


  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 doesn’t work.
    The URL for the Magento site search is: catalogsearch/result/?q=.

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>.