Skip to content

Add Google Analytics to your site

Embedding Google Analytics into your RevasOS-powered site allows you to monitor and analyze site traffic, performance, and user behavior. Follow the steps below to integrate Google Analytics into your site.

Attention to privacy

When inserting this type of tracking scripts, remember to always have consent management enabled via Consent Platform Managemtn, for example Iubenda.

Get the Google Analytics code

  1. Log in to your Google Analytics account: Go to Google Analytics and log in with your credentials.

  2. Create a property:

  • In the Google Analytics dashboard, click on Administrator at the bottom left.
  • In the Property column, click on Create property.
  • Enter the property name, website URL, and time zone.
  1. Get the tracking code:
  • After creating the property, select the newly created property.
  • Go to Property Settings > Tracking Information > Tracking Code.
  • Copy the Tracking Code (Global Site Tag) that starts with <!-- Global site tag (gtag.js) - Google Analytics -->.

Insert the code on RevasOS

Once you have the code, go to RevasOS and:

  1. Log in to your website Dashboard.

  2. Click Settings > Custom Code.

  3. Add the code in the HEAD field:

  • Paste the tracking code (Global Site Tag) in the HEAD Code field.
  1. Save settings.

Activation via Google Tag Manager

If you prefer to manage Google Analytics via Google Tag Manager, you can follow the steps below:

  1. Add Google Analytics via Google Tag Manager:
  • Go to Google Tag Manager and create a container, as described in the Google Tag Manager guide.
  • Create a new Tag in the container and select Google Analytics as the tag type.
  • Enter your Google Analytics Tracking ID in the field provided.
  • Add the activation triggers (e.g. All pages, Edit history, Link clicks, etc.), making sure you have a tag that handles consent initialization.
  • Save and publish the tag.
  1. External guide for Google Tag Manager integration:
  1. In Google Analytics, in the data stream setting, make sure that all triggers are active, especially the Edit history trigger.

Verify installation

Once you have saved the code, you can verify that Google Analytics is correctly integrated into your site:

  1. Visit your website.
  2. Use Google Tag Assistant (Chrome extension) to verify that the Google Analytics tracking code is active and working.

RevasOS