How to Track Your Pop-up Statistics in Google Analytics

Available on a paid pricing plan

In addition to tracking statistics in your Google Analytics account, you can send data on your click-through and subscription rate via various communication channels. This will help you see the bigger picture of your pop-ups’ performance and simplify the process of analyzing statistics.

Let's talk about how to send an event from SendPulse’s pop-up service to Google Analytics.

Universal Analytics is currently supported, but Analytics 4 will soon be available for pop-ups. Google will replace Universal Analytics with Google Analytics 4 on July 1, 2023.

Overall Parameters for Data Transmission

To integrate with Google Analytics, you need to use four entities: event, event category, event action, and event label.

Event

Tracks user interaction with content.

You can automatically send the following events from your SendPulse project to your Google Analytics account:

  • button click: a user clicked on a button in a pop-up (call to action);
  • email address received: a user entered their email address in a pop-up form (newsletter subscription);
  • phone number received: a user entered their phone number in a pop-up form.

Event Category

A category is a recurring group of events.

Used to generalize a recurring group of events that marks the following data channels:

  • pop-up (pop_up);
  • floating panel with messenger buttons (floating_button).

Action

Defines the type of user interaction with site elements. This is the event type that is sent to Google Analytics, for example, Button Click.

In total, there are six actions available:

Button click (onButtonClick) A user clicking on a button. This action is triggered by any pop-up target action, for example, "Call to action" or "Newsletter subscription."
Email received (onEmailSet) Receiving an email address from a user. The pop_up event category is triggered by the "Newsletter subscription" target action.
Phone received (onPhoneSet) Receiving a phone number from a user. The pop_up event category is triggered by the "Phone number request" target action.

If you select the “Phone number request” or “Newsletter subscription” action, the action corresponding to the data type entered by the user will be triggered. For example, the onEmailSet action will be triggered when you receive the user’s email address, and the onPhoneSet action will be triggered when you receive the user’s phone number.

Event Label

Allows you to send additional information about the monitored event.

When integrating SendPulse with Google Analytics, a label is used for the pop_up and floating_button event categories to separate the events within their category by action type.

In total, there are 11 labels available:

  • Call to action (action request);
  • Chat button (chat button);
  • Telegram (the user was redirected to Telegram);
  • Snapchat (the user was redirected to Snapchat);
  • WhatsApp (the user was redirected to WhatsApp);
  • Messenger (the user was redirected to Messenger);
  • Instagram (the user was redirected to Instagram);
  • YouTube (the user was redirected to YouTube);
  • Twitter (the user was redirected to Twitter);
  • Viber (the user was redirected to Viber).
  • Custom Link (following the specified link).

Integrating with Google Analytics

To collect analytics, you need to integrate the SendPulse pop-up service with Google Analytics.

Connect Google Analytics

In your Sendpulse account, select a project for which you want to set up the integration. Click the three dots icon, and go to "Settings."

Go to the "Integration" tab, and, under "Google Analytics," click Connect.

Integration with Google Analytics is available with the "Standard" pricing plan.

To connect to your counter to Google Analytics, insert a tracking ID.

Copy Your Tracking ID

Log in to your Google Analytics account, and go to the “Admin” > “Property Setup” tab. Make sure that your main site page where your pop-up is displayed is indicated in the "Default URL" field.

Go to “Source”> “Tracking” > “Tracking Code.”

Select and copy your unique tracking ID.

Finish Up, and Select Events

Go back to your SendPulse account, paste the ID in the corresponding field, and select the events you want to send to Google Analytics using checkboxes. Click Save.

You can edit or delete the integration by clicking Edit.

Testing the Integration

To test if your data is transferred to Google Analytics correctly, run one of the events you selected. Then, go to "Real Time Report" > "Events" in Google Analytics. The data will be displayed instantly.

You can view and analyze data by category, action, and label in “Behavior” > “Events.”

The following data will be sent to Google Analytics:

  • event action (onButtonClick);
  • event category (pop_up);
  • event label (Telegram and Instagram).

To analyze the effectiveness of a particular button, select the necessary label.

Url to service price page: Popup
    Rate this article about "How to Track Your Pop-up Statistics in Google Analytics"

    User Rating: 4 / 5

    Popular in Our Blog

    Try SendPulse today for free