Track Searches on Your WordPress Website in Google Analytics

Tracking Site Searches

  1. Click the Admin tab at the top right of any screen in Analytics.
  2. If you are not already on the Account Administration screen, click the All Accounts link at top left, just below the orange bar.
  3. Click the account that contains the web property and view for which you want to set up Site Search.
  4. Click the web property that contains the view for which you want to set up Site Search.
  5. Use the View menu to select the view you want.
  6. Click the View Settings sub-tab.
  7. Under Site Search Settings, set Site Search Tracking to ON.
    Google Site Search
  8. In the Query Parameter field, enter the word or words that designate an internal query parameter, such as “term,search,query”. For WordPress by default this will be the letter “s“.
  9. Tick Strip query parameters out of URL.
  10. Click Save.

The Site Search reports appear under Content on the Standard Reporting. It may take up to 48 hours for data to appear in your reports once you have configured Site Search.