Skip to main content
Skip table of contents

Analytics Integrations

You can connect the Help Center theme to the Google suite of apps like Google Analytics, Google Tag Manager, and Google Search Console or to Cloudflare Web Analytics to help you better understand your users' help journeys and improve your content over time.

Enable any analytics integration from Edit theme → Integrations → Analytics and select your preferred service. To activate the integration, paste the service’s token or tracking code into Viewport. Read on to find out where to find the corresponding values.

Google Apps

If you are using Google Tag Manager, it is usually redundant to set up Google Analytics and Search Console within Scroll Viewport, as the data from those can be gathered via the Tag Manager code. Learn more here.

Google Analytics

Make sure you provide a Google’s Analytics 4 property (GA4) in the format G-XXXXXXX.

Example: G-56789023

When using Google Analytics tracking in your site, to respect your users' privacy we always anonymize the IP of your visitors directly in our code.

If needed and until July 1, 2023 you can continue to use Google’s Universal Analytics (UA) property in the format UA-XXXXXX-X. After July 1, 2023, all UA properties will stop working. Learn more.

Google Search Console

Specify your Search Console Verification to receive search engine data about your site within your Search Console account.

Example: SDFGsFGDFGssdFVSDf_scvSWsfdg3543rt4G

Learn How To Verify A Viewport Site With The Google Search Console.

Google Tag Manager

Specify your Tag Manager ID to embed your Google Tag Manager tracking code on every page of your help center.

Example: GTM-123456-7

To respect your users' privacy, we recommend to enable the IP anonymization feature inside Google Tag Manager’s configuration.

Cloudflare Web Analytics

Get your the Cloudflare Web Analytics Token from the Cloudflare Dashboard.

Navigate to Web AnalyticsAdd a site or Manage site and copy the token out of the provided JS Snippet.

Example JS snippet:

<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "ff580005f1923cbd8fa0280754777"}'></script><!-- End Cloudflare Web Analytics -->

Example token:

ff580005f1923cbd8fa0280754777

To get your JS snippet, you first have to Add a site for your Scroll Viewport help center in the Cloudflare dashboard. Configure the site as “not proxied through Cloudflare".

Learn more on how to Enable Cloudflare Web Analytics.

Viewtracker - Analytics for Confluence by bitvoodoo

Get your bitvoodoo Viewtracker Token from Apps → Viewtracker Global report → Interfaces → Scroll Viewport Cloud.

Read more about the integration on Scroll Viewport Tracking on Viewtracker Cloud.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.