Google Analytics Integration

Markdown

View as Markdown

You can easily track your knowledge base website using Google Analytics or GA4 in Helpcenter. This allows you to analyze visitor interactions. Below are the steps to integrate your data with Google Analytics.

Get the Tracking ID

Log into Google Analytics and choose Setup Assistant under Admin (Gear-shaped icon).

Click 'chevron_right'Click on the checkmark next to Collect website and app data, then click on Manage Data Streams.Click 'Manage data streams'

Choose your stream from the list.

Data streamsWhen you've opened your data stream, scroll down to the very bottom and you will see View tag instructions. Click 'Get instructions for how to implement your Google tag for this data stream.'From here, click on Install Manually and copy the code snippet.

Click here

Go to Settings

Go back to your Helpcenter dashboard and click on the gear shaped icon at the bottom left of your screen. Go to Knowledge Base › Knowledge bases, select your knowledge base, then open the Integrations tab.

Paste the code snippet

Paste the code snippet into the text box under Custom JavaScript and click on Save changes to complete the process.

Paste the Google tag code

Test event creation

Visit your knowledge base website and try to make a dummy purchase. Then, on your Google Analytics Dashboard, go to Reports > Realtime Overview to see the events live.

Was this article helpful?

Still need help?

Contact us