You can send Attentive sign-up unit events to third-party services like Google Analytics 4 (GA4), Meta Pixel, and Northbeam to allow for deeper analysis. Our third-party tracking capabilities send events directly to these tools without requiring custom configuration.
By enabling third-party tracking, you can add Attentive reporting to your third-party dashboards to track sign-up events alongside your other site analytics.
Prerequisites
You must meet the following requirements to turn on third-party tracking for your sign-up units:
- You must have an active account and dashboard for the tracking service (e.g., Google Analytics, Meta, or Northbeam).
- The third-party service must be integrated with your site.
- You must be using Attentive sign-up units for SMS and/or email list growth.
How to Enable Third-Party Tracking
You can enable third-party tracking directly from your account.
- Navigate to Sign-Up Units and select Edit Design for the unit you want to modify.
- Go to the Brand Styles section.
- Scroll down to the Tracking section.
- Toggle on the desired services: Google Analytics 4, Meta Pixel, or Northbeam.
- Click Publish to save your changes and make them live.
Note: For sign-up units on landing pages hosted by Attentive, you'll need to provide your service's unique tracking ID to ensure the services are initialized properly.
Advanced Options and Supported Events (GA4 and Meta)
By default, Attentive will send standard events with default names. You can, however, use advanced settings to customize event names or include additional data.
Once you’ve toggled on the pixel for GA4 or Meta, a menu will populate where you can customize settings as needed.
The following sections outline the supported events and their default names for each service.
| Event Type | GA4 Event Name | Meta Pixel Event Name |
| Impressions | impression | ViewContent |
| Email Signups | submitEmail | Contact |
| SMS Signups | submitSMS | Lead |
| Creative Close | close | close |
| Creative Expand | expand | expand |
Google Analytics 4 (GA4)
If GA4 has been installed via Google Tag Manager (GTM), you can:
- Set your User-Defined Variables. Attentive events can include four dataLayer variables: creative_id, creative_type, email, and source.
- Configure custom Triggers for the events you want to see in your GA4 reports panel. This trigger will fire when an event with the name of submitEmail is detected in the dataLayer.
-
Configure custom Tags.
- (Optional) You can rename your events in the GA4 Admin panel.
- Define which of the event parameters that you get from Attentive you want to pass along with the event. Parameter values can point to the dataLayer variables or you can hardcode them to something else.
All events have source = Attentive. You have the option of including creative_id with all of the events, email with submitEmail events, and creative_type with impression events. The event will show in the dataLayer immediately after it happens.
Northbeam
You can send the following events to Northbeam:
- impression
- submitEmail
- submitSMS
Note: Northbeam tracking is only supported for onsite units, not landing pages. Email submit events will be sent for all units, while SMS submit events will only be sent for desktop units.
dataLayer Push
You can send events directly to the dataLayer on your site. For more information on dataLayer events, see the Google Tag Manager documentation.
The default dataLayer events are:
- impression
- submitEmail
- submitSMS
- close
- expand
Example Events
The following sections outline a corresponding example for each supported event.
GA4 / dataLayer
Impressions
{
"event": "impression",
"creative_id": "1234",
"creative_type": "bubble",
"source": "Attentive"
}
Email Signups
{
"event": "submitEmail",
"creative_id": "1234",
"email": "test@test.com",
"source": "Attentive"
}
SMS Signups
{
"event": "submitSMS",
"creative_id": "1234",
"source": "Attentive"
}
Creative Close
{
"event": "close",
"creative_id": "1234",
"source": "Attentive"
}
Creative Expand
{
"event": "expand",
"creative_id": "1234",
"source": "Attentive"
}
Meta Pixel
Impressions (ViewContent)
{
"track",
"eventName": "ViewContent",
"creativeId": "1234"
}
Email Signups (Contact)
{
"track",
"eventName": "Contact",
"creativeId": "1234",
"email": "test@test.com"
}
SMS Signups (Lead)
{
"track",
"eventName": "Lead",
"creativeId": "1234"
}
Creative Close (close)
{
"track",
"eventName": "close",
"creativeId": "1234",
"closeType": "X"
}
Creative Expand (expand)
{
"track",
"eventName": "expand",
"creativeId": "1234"
}
Disclaimer: Passing Personally Identifiable Information (PII) via analytics events may violate a customer’s terms agreement with their analytics provider. It's recommended to review your agreement before enabling this feature.