Google Analytics Integration

Google Analytics Site Search Integration with SearchBlox

Steps to set up Site Search Tracking through Google Analytics

📘

Prerequisites

  • Google Analytics account (Universal Analytics property)
  • Admin access to your SearchBlox deployment
  1. Navigate to Google Analytics
    Sign in with your Google account
    Go to https://www.google.com/analytics/web/#home/ your analytics account in Google.

  1. On clicking Sign up the user will be asked to create a new account as shown:

  1. Click Get Tracking ID

  1. Accept the terms and conditions

  1. You would be redirected to Admin page of Google Analytics where you need to set the properties for the site that is tracked

  1. Click Admin button in the bottom left to view the properties

  1. You should be able to view the settings and properties of the account, Property and View

  1. Click View Settings of View

  1. At the bottom of the View Settings page, you can find Site Search Settings. Enable the Site search Tracking and provide the Query parameter as query and save the settings

  1. Go back to Admin -> Property Settings -> Tracking Info -> Tracking Code and copy the Global site tag to be embedded in your site's index.html

  1. Specify the snippet in your index.html

  1. Everything is set now. When users access your search page, you can view the analytics on the search term in Google Analytics from Reports -> Behavior -> Site Search -> Overview/Search Terms.

  1. Please make sure to specify the required time interval in top right corner

🚧

Note:

Kindly note that there would a delay say an hour or so for the search terms to be updated

Additional Pointers

  1. Exporting and Saving Reports
    Export Options:
    1. PDF (ideal for sharing)
    2. CSV (for data analysis)
    3. Google Sheets (for live collaboration)
      Saving Reports:
      Click "Save" in any report view
      Access later via:
      Left Menu > Customization > Saved Reports
      Organize with folders and naming conventions
  2. Viewing Site Traffic
    Primary Metrics Dashboard:
    1. Real-time user count
    2. Traffic sources overview
    3. Geographic distribution
    4. Device breakdown