Google Analytics Integration

The Google Analytics integration allows you to automatically send campaign data to your own Google Analytics tracking code, this can help you get better visibility of the performance of your campaigns & how they interact with other marketing channels.

Supported Versions

We currently support using analytics.js or gtag.js implementations of Google Analytics.

Tip

If your Google Analytics is inside some 3rd party Tag Management container it may prevent Cross Domain Tracking from functioning.

Integrating Google Analytics

You can enable Google Analytics Integration on the Business plan & above. Simply navigate to Settings > Integrations then turn on Google Analytics.

Connect your Google Analytics UA Number to Gleam

Cross Domain Tracking

If you are embedding the Gleam widget on your own website then Google Analytics will wipe out referrer data unless you have the Cross Domain Tracking enabled on your embed code.

Enable cross-domain tracking from the 'Install Options' tab

If you enable Google Analytics after embedding your campaign you will need to grab the new code and update the embed on your page to enable the Cross Domain Tracking.

Tip

Cross Domain Tracking will increase the load time of the widget on your page, as it waits for Google Analytics to initialize before rendering the campaign.

What Data Goes Gleam Send?

Competitions & Rewards

Pageviews

This allows you to see how much traffic & from what sources your competition is getting.

  • All pageviews are prepended by the folder /gleam/ (or agencyname for an agency).
  • We also prepend which type of competition is being viewed. Standalone is the Gleam specific landing page, Widget is the embedded widget on your site.
Tip

You may consider setting up a filter to suppress anything with the /gleam/ sub-folder if these impressions are impacting your bounce rates.

Events

We also send a number of events that you can view under Behavior > Events:

  • All events are prepended by Gleam (or Agencyname for agency)
  • Events are broken down into 4 categories: Click, Enter, Login, Share
  • Event actions will tell you what action type the event happened on (i.e. Facebook)
  • Event labels will tell you the specific action being interacted with (i.e. like)

Captures

Pageviews

This allows you to see how much traffic the Capture is getting.

  • All pageviews are prepended by the folder /gleam/capture (or agencyname for an agency).
  • We also prepend the key of the Capture i.e. /gleam/capture/u0pxO

Events

We also send a number of events that you can view under Behaviour > Events:

  • All events are prepended by Gleam Capture (or Agencyname for agency)
  • Event actions will tell you Clicks and Conversions
  • Event label will show you which Capture Key generated the Clicks or Conversions

Common Issues or Questions

How Can I Set Up A Goal To Track Entrants?

If you want to set up a goal to track the conversion rates of entrants from unique traffic sources then you will need to create a goal from the event data.

Create New Goal > Custom > Give it a Name (i.e. Gleam Conversions) Type > Event Category > Equals to > Gleam Enter

Create a new Goal in Google Analytics

You will then be able to see this goal on reports like Acquisition > All Traffic > Source/Medium > Conversions > Choose Goal

See Next Article

Google Analytics 4 Integration

The Google Analytics 4 integration allows you to automatically send campaign data to your own GA4 measurement ID, this can help you get better visibility of the performance of your campaigns & how they interact with other marketing channels.