Universal Google Analytics tracking

If you’re looking for Google Analytics 4 (GA4) tracking, see this article instead.

You can send Attentive events to Universal Google Analytics to allow for custom analysis. Our third-party tracking capabilities send events directly to Universal Google Analytics without requiring you to perform any custom configurations.

You can add Attentive reporting to your Universal Google Analytics dashboard to track sign-up events along with your other site analytics.

See the Example events section for more details about each event.

Prerequisites

You must meet the following requirements in order to turn on third-party tracking for Universal Google Analytics:

  • You must have an active Google Analytics account and dashboard.
  • You must have Universal Google Analytics integrated with your site. Complete the steps outlined in Set up the Analytics global site tag to get started. After you have Universal Google Analytics set up, you can request this feature from Attentive.
  • You must use Attentive sign-up units for SMS list growth.

Receive events from Attentive in your Universal Google Analytics dashboard

Let our White Glove team (whiteglove@attentivemobile.com) or your dedicated Customer Success Manager (CSM) know that you want to enable third-party tracking for Universal Google Analytics. You can also let them know if you want to customize the names or category names for your events. By default, the category name is Attentive and the event names are:

  • impression
  • submitEmail

    Note: You must indicate whether email addresses should be included in the submitEmail event.

  • submitSMS
  • close
  • expand

(Optional) For landing pages hosted by Attentive

Contact our White Glove team (whiteglove@attentivemobile.com) or your dedicated CSM and provide them with the tracking ID for onsite sign-up units to use the tracking services already initialized on your site. Landing pages are hosted by Attentive, so you need to provide the tracking ID to initialize the services properly. Complete the following steps:

  1. Sign in to your Google Analytics account.
  2. Click Admin > Tracking Info > Tracking Code.
  3. Copy and save your Tracking ID.
    ga1.png

View events from Attentive within Universal Google Analytics

Log in to your Universal Google Analytics account and complete the following steps:

  1. Click Behavior in the left-side navigation.
  2. Select Events > Top Events.
    ga2.png
  3. Select Attentive as the Event Category from the drop-down in the top-left corner of the table.
    ga3.png

Example events

The following sections outline the default names for each event and include a corresponding example.

Impressions

name: impression
eventCategory: Attentive
eventLabel: creative id

Example event:

{
"event",
"eventCategory": "Attentive",
"eventName: "impression",
"eventLabel": "1234",
"nonInteraction": "true"
}

Email signups

name: submitEmail
eventCategory: Attentive
eventLabel: creative id
dimension1: email

Note: Email address is only included when enabled through the advanced settings menu.

Example event:

{
"event",
"eventCategory": "Attentive",
"eventName: "submitEmail",
"eventLabel": "1234",
"dimension1": "test@test.com",
"nonInteraction": "false"
}

SMS signups

name: submitSMS
eventCategory: Attentive
eventLabel: creative id

Example event:

{
"event",
"eventCategory": "Attentive",
"eventName: "submitSMS",
"eventLabel": "1234",
"nonInteraction": "false"
}

Creative Close

name: close
eventCategory: Attentive
eventLabel: creative id
dimension2: closeType ("X", "Dismiss", "Escape")

Example event:

{
"event",
"eventCategory": "Attentive",
"eventName": "close",
"eventLabel": "1234",
"dimension2": "X",
"nonInteraction": "false"
}

Creative Expand

name: expand
eventCategory: Attentive
eventLabel: creative id

Example event:

{
"event",
"eventCategory": "Attentive",
"eventName": "expand",
"eventLabel": "1234",
"nonInteraction": "false"
}

Articles in this section

Was this article helpful?
1 out of 1 found this helpful