Gorgias logo
Gorgias logo

All articles

How to set up help center trackingUpdated 2 months ago

If you were ever wondering how you can track your Gorgias help center searches, here's a neat workaround! In the meantime, we are working on our native tracking within the helpdesk UI.

How it works

You can track your help center searches by using a tracking tool such as Google Analytics or Google Tag Manager in order to add a script or a pixel to your help center. Any tracking tools following the same principle will work as well!

*Note: Please just keep in mind that you need to add tracking to each of your help center integrations.
Also, please make sure that you follow GDPR even on your Gorgias help center if you’re targeting European shoppers!

Setup instructions

Here's how to add a tracking pixel/script to the Gorgias help center. You will first want to get your script/pixel ready!

Google Analytics - Universal Analytics

1. If you are using Google Universal Analytics (your ID should look like this: UA-XXXXXXXXX-X) then you need to go to the Admin (bottom left of your window once you are in Google Analytics) → Tracking InfoTracking Code.

2. You will find a code snipet that should look like the one below. Please copy it, you will need it in a bit!

1<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-X"></script>
3window.dataLayer = window.dataLayer || [];
4function gtag(){dataLayer.push(arguments);}
5 gtag('js', new Date());
7 gtag('config', 'UA-XXXXXXXXX-X');

Google Analytics 4

  1. If you are using Google Analytics 4 (your ID should look like this: G-XXXXXXXXXX), then you need to go to Admin (bottom left of your window once you are in Google Analytics) → Data Streamsclick on the webstream already existing or create a new one.
  2. Click on 'Add new on-page tag' then on 'Global site tag (gtag.js)'and copy-paste the code available, you will need it later.

Google Tag Manager

1. Go to AdminInstall Google Tag Manager and copy what’s in the part called 'Paste this code as high in the <head> of the page as possible'.

2. The code should look something like this:

2new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

Any other tracking tool

It's pretty much the same procedure as the one for Google Analytics or Google Tag Manager. You will want to get your script or pixel ready. It should look like something like this:

2Your Pixel in javascript...

Track your help center

Please go to your Gorgias helpdesk and follow the steps below:

  1. Go to SettingsHelp Center (under 'Channels'):

  2. Click on the help center that you would like to track and then go to the 'Customization' tab:

  3. Under the section 'Extra HTML', activate the toggle and paste your code into the code editor.It should looks something like this:
  4. Click 'Save Changes' at the bottom of the page.

Congratulations! Your help center tracking is now up and running. 💪 In a few minutes your tracking should be running on your Gorgias help center.

If you want to learn more about the customization of your help center, please refer to this guide here. If you liked this article and would like us to improve this feature in the Help Center, you vote for it!

Was this article helpful?