Skip to main content

Enable Traffic Tracking with Google Analytics

How to integrate Google Analytics to your website

Gayathri Rajendiran avatar
Written by Gayathri Rajendiran
Updated this week

You can enter a Google Analytics tracking code into your engagement site to analyze the visitor traffic to your site using Google Analytics.

Read this google support article to get your account details, then follow the steps steps below to add tracking to EngagementHQ.

Add the Google Analytics Tracking Code

  1. Go to Site Settings > Privacy and Security.

  2. Toggle on the Enable Google Analytics setting.

  3. Paste your Google Analytics Measurement ID into the Google Analytics Account field.

Add analytics tracking code in the admin controls section of site settings.

If Google Analytics is added correctly in the site settings, the GA code gets added to individual project pages and data will be tracked from the homepage and the project pages.

While we accept the GA4 Measurement ID and the Universal Analytics ID, we strongly recommend using the Measurement ID. Universal Analytics is now legacy and will not provide the same data.

To test that it is working correctly, you can monitor your Google Analytics account to ensure that page views, visitors, and other data is being correctly captured.

Using Custom Code

If necessary, you can also add the Measurement ID into the Custom Code for your site. This is an advanced method which allows you to inject a tracking snippet into the <head> tag of your site.

You can follow the manual install option for the Google Analytics 4 and then paste the codes shared into Site Settings > Custom Code > Adding code to <head> section.

Did this answer your question?