Skip to main content

Introduction

Sending events from your website can be performed in two ways: using a Google Tag Manager® Web Container, or by using Google® gtag.js directly.
MethodProsCons
Google® gtag.js
  • Easiest setup
  • Requires some Javascript knowledge
Google Tag Manager®
  • Guided setup with UI

Idempotent Requests

Idempotency on the frontend is not available. You can use a Backend Source if you need out of the box deduplication for your Conversion Events.

Sending Events

1

Set up a configuration variable

Create a configuration variable for your Google Tag

Or follow the steps below to create your own:
  1. Open Google Tag Manager
  2. Select the web container you want to configure.
  3. Open the Variables menu.
  4. Create a New user-defined variable of the type Google tag: Configuration settings.
  5. Add the following parameters:
    • Name: server_container_url
    • Value: earth.oneviewhub.cloud
  6. Name your variable, for example, “Server Configuration”, and Save it.
2

Assign the configuration variable to a Google Analytics Tag

Point your Google Tag to OneView

Follow the steps below:
  1. Open the Tags menu.
  2. Add a new Google tag with your Google tag ID, or edit an existing one.
  3. In Configuration settings, select the server container variable you just created.
  4. Click Triggering and use the appropriate trigger. Learn more about Page triggers.
  5. Save the tag and Publish the container.
OneView is fully compatible with Google Consent Mode. No configuration required.