Suite | Team, Growth, Professional, Enterprise, or Enterprise Plus |
Support with | Guide Professional or Enterprise |
You can use Google Analytics to track your help center traffic. Google Analytics is a third-party, non-Zendesk service.
Adding your help center to Google Analytics
To set up your Google Analytics account
To track traffic via Google Analytics, establish a Google Analytics account (if you don’t already have one), then add your help center to that account.
For instructions on each of these tasks, refer to Google’s support documentation for your Google Analytics platform:
- [GA4] Set up Analytics for a website and/or app
- Set up Analytics for a website (Universal Analytics)
- In Knowledge admin, click Settings (
) in the sidebar.
- Under Integrations, select the option to enable
Google Analytics and enter your tracking ID.Note: If you are transitioning from Google Universal Analytics to Google Analytics 4, you must add the tracking ID for both products. If you are only using Google Analytics 4, you can just add the Google Analytics 4 tracking ID.
- Click Update on the upper-right side of the page.
Alternative analytics for your help center
If you're not using Google Analytics, you can implement any tracking code directly in the code of your theme by pasting the tracking code snippet into the document_head.hbs theme template file. This is available if you are on Guide Professional or higher or Suite Growth or higher and have converted your theme to a custom theme.
You can also use Google Tag Manager to implement your tags see Using Google Tag Manager with your help center.
Supporting opt-outs
Laws in certain jurisdictions (for example, the California Consumer Privacy Act) may require that end users be given the opportunity to opt-out of Google Analytics or other third-party tracking, including through the use of a universal opt-out mechanism such as Global Privacy Control (GPC). For more information on ways to comply with these requirements, see Implementing cookie consent in your help center.
44 comments
mfg
I've updated our sandbox site to include the GA4 code using the standard integration option described in this article. My sandbox help center is activated and public (verified via incognito). When I test in GA it's indicating that the tag can't be found on the site.
Approximately how long does it take to update on my help center (most things are pretty immediate), and where can i go to confirm it's live (ie inspect the request, article pages etc)?
0
Aaron McCloud
Gorka Cardona-Lauridsen Hello, I don't see Google Analytics under Integrations and we have the Enterprise account. Was GA4 support removed from Zendesk? Aaron
0
David
Hi Aaron,
That article was archived as all relevant information has been included here
0
Aaron McCloud
Gorka Cardona-Lauridsen Hi Gorka, we want to add GA4 to all our zendesk sites without needing to edit the base code them files. I see you posted an announcement above that you are creating native support for this, but when I click your announcement link it says "You're unauthorized to access this page". Could you give me access or give an update on this?
Thanks, Aaron
0
Jesse Sarkis
Hi all,
We have set up GA4 Google Analytics Tracking for our Help Center. As we use the information to improve our articles, we have changed the titles of many articles, but in the Analytics it seems that the name of the article from when the tracking code was first added to the page is what persists.
Is there a solution that will display the new article names in Google Analytics while preserving the previously collected data for that same page? Hoping to avoid creating a new article/page and deleting an old article/page every time an article's name is changed in order to get the name in Google Analytics.
Any insight or ideas are greatly appreciated!
Best,
Jesse
0
Ludwig P.
It looks like you've started a conversation with us and I've responded to your message.
0
Ivan Carlos de Almeida
I am trying to enable Google Analytics but the path "Settings" > "Integrations" as described in knowledge base does not show to me the option to enable Google Analytics
1
Gorka Cardona-Lauridsen
Alyssa and Adam Goodell If you already have GA4 tracking set up with GTM in your help center, then you should not add your tracking ID to the GA4 setting in Guide as it would cause the script to run twice on page load which may cause errors in your data.
0
Jupete Manitas
Apologies for the confusion as we missed that GTM part. Aside from Google Analytics, depending on your business needs, you can use the Google Tag manager on your Help Center site. Please use this as your guidance: Using Google Tag Manager with your help center. Thank you!
0
Adam Goodell
I have the same question as Alyssa. Jupete Manitas please comment on whether or not we should use GTM.
1
Sign in to leave a comment.