Categories: Blog

How to Set Up Site Search Tracking in Google Analytics

Every B2B and B2C marketer needs to know how to set up site search tracking in Google Analytics. This post and video will show you how, including how to find your query parameters (the most confusing part).

You’ll learn:

  1. Why setting up site search tracking in Google Analytics is important
  2. Where to find the site search controls in Google Analytics
  3. How to identify your query parameters

Video Tutorial (Text How-To is below)

Why setting up site search tracking in Google Analytics is important

Without site search tracking in Google Analytics, you only have two-thirds of the data you need to optimize your website’s user experience. You need to know not only how users get to your site and what they view, but also what they want. That’s where site search comes in. By collecting this data in GA, you get real-world feedback on exactly what your most valuable constituents are actively seeking, allowing you to prioritize that content.

How to turn on site search tracking in Google Analytics

Actually turning on site search tracking Google Analytics is a really quick process. It literally takes about 15 seconds. (Which is pretty cool.) Here’s how you do it:

Step 1: Navigate to the Admin section of Google Analytics

Step 2: Click on ‘View Settings’

Step 3: Scroll to ‘Site Search Settings’ and toggle it on

Step 4: Enter Your Query Parameter(s)

This is the “hard part” of setting up site search tracking in Google Analytics … and it’s actually pretty easy. See that red “Query parameter” box in the screenshot above? That’s where you need to tell Google Analytics how to find user search queries.

To identify your query parameters, go to your website and run a search just like a user. It should return a results page with a URL like this one:

Your query parameter is the letter or word that appears directly after the question mark in the URL. In most WordPress installations, it’s the letter “s.”

Enter this value in the query parameter box in Google Analytics and save your settings. Once you see a “success” message, you’re done setting up site search tracking! At this point, you’ll start seeing user search queries flowing into GA just like any other data from your website. Use them to:

  • Prioritize the information users are most actively seeking
  • Reorient your navigation to make valuable information more prominent
  • Create content that engages users more actively
  • Fix common errors, like 404s

Need a hand setting up site search in Google Analytics or getting the most out of your web data? We’d love to help! Altitude is a full-service B2B marketing agency specializing in complex WordPress development. Contact us online or call 610-421-8601 x122 to get the conversation started.

Adam Smartschan

Adam Smartschan heads Altitude's strategic marketing and branding efforts. An award-winning writer and editor by trade in a former life, he now specializes in data analytics, search engine optimization, digital advertising strategy, conversion rate optimization and technical integrations. He holds numerous industry certifications and is a frequent speaker on topics around B2B marketing strategy and SEO.

Recent Posts

SEO for Life Sciences: How to Outrank Competitors and Drive Organic Traffic

A good SEO strategy is table-stakes to stand out in any industry. But in the…

2 days ago

6 Research Steps Manufacturers Should Take Before Launching a Marketing Campaign

Market research is a crucial component when developing a successful marketing strategy in the manufacturing…

2 days ago

7 Reasons Why Tradeshows Are Still Essential For B2B Marketers

B2B marketers face a huge challenge: ensuring their messaging actually reaches the right audience. Companies…

5 days ago

10 Creative Content Ideas to Revitalize Your B2B Blog

No matter your industry, a vibrant and еngaging B2B blog is еssеntial for capturing the…

6 days ago

Email Marketing for the Life Sciences: A Guide to Boost Lead Conversion and Engagement

Email marketing plays a crucial role in the life sciences industry, serving as a powerful…

1 week ago

The Power of Market Insights: A Strategic Guide for Life Sciences Companies

At the heart of any successful life sciences company’s strategy lies a keen understanding of…

1 week ago