Help

Help > Forum > Page Views > Integrating Google Analytics or Google Tag Manager

Integrating Google Analytics or Google Tag Manager

Use this option if you do not have Google Tag Manager installed on your forum.

  1. Sign up for or log in to your Google Analytics account.
  2. Create a new GA4 property for your forum and copy the Measurement ID (it looks like G-XXXXXXXXXX).
  3. Get the Google Analytics tracking code snippet from your GA4 property.
  4. Log in to your Website Toolbox account.
  5. Click the Integrate link in the main menu.
  6. Under the Integrate menu, select the Custom Code link.
  7. Paste the full Google Analytics tracking code snippet into the Forum Footer HTML Code section.
  8. Click Save.

Use this option if you already have a Google Tag Manager container code (it looks like GTM-XXXXXXX) in the Integrate -> HTML section of the forum admin area. In this case, you don't need to copy/paste additional code. Instead, add Google Analytics as a tag inside GTM.

  1. Log in to your Google Tag Manager account.
  2. Select the container that is installed on your forum.
  3. Click Tags in the left menu, then click New.
  4. Click Tag Configuration and select Google Tag (GA4).
  5. Enter your GA4 Measurement ID (e.g. G-XXXXXXXXXX). You can find this in your Google Analytics account under Admin > Data Streams.
  6. Under Triggering, select All Pages.
  7. Name the tag (e.g. "GA4 Configuration") and click Save.
  8. Click Submit in the top-right corner of GTM to publish the container.

No changes are needed in your Website Toolbox Integrate → HTML section. Your existing GTM container code will deploy GA4 automatically.

Note: Google Analytics may show fewer page views than your Website Toolbox Analytics. This is because some high-traffic areas of your forum (RSS feeds, JavaScript feeds, JSON feeds) do not load the Footer HTML code and therefore are not tracked by Google Analytics. Search engine robot traffic is also excluded from Google Analytics but counted by Website Toolbox.

Related Articles:


If you still need help, please contact us.