Connecting Google Analytics

Taylor Sloane Updated by Taylor Sloane

Google Analytics helps you track people landing on your website, then gives you insights into their behavior. HelpDocs integrates with Google Analytics to help you track what they're doing on your knowledge base too. 

All it takes is a short code. There's no need to edit the header or footer.

You'll need admin permissions in Google Analytics to access the tracking code.

Connecting Google Analytics to HelpDocs

  1. In your Google Analytics account head to Admin
  2. Click Tracking Info > Tracking Code
  3. Copy the Tracking ID (It'll look something like UA-########-#)
  4. In the HelpDocs dashboard, go to Settings > Integrations
  5. Find Google Analytics
  6. Click ⋮ More > Connect
  7. Paste the tracking ID you copied earlier into the box for Google Analytics
  8. Hit Save Changes

You'll now see all your HelpDocs traffic alongside your web traffic in Google Analytics. 🚦

Creating a New View and Filtering

If you wanna examine the traffic on its own you can create a new view. Once you've created a new view, you'll need to apply some filters.

  1. Make sure you're on your new view in the top left
  1. Head to Admin > Filters
  2. Click + Add Filter
    1. Name your filter (e.g. KB Traffic)
    2. Select Predefined
    3. Choose Include only, traffic to the hostname, and that are equal to
    4. Enter your custom domain (e.g. help.yourdomain.com) if you're using one. Else enter your HelpDocs subdomain (e.g. exampleapp.helpdocs.io)

  1. Hit Save

What did you think of this doc?

Adding Hotjar

Connecting Gorgias

Get in touch

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.