Google Analytics 4 (GA4) Integration - Voizee - SMS Marketing, Business Texting & Calling Platform

Google Analytics 4 (GA4) Integration

GA4 introduces a shift in data collection methodology, shifting the focus from sessions to events. This transition allows for a more integrated measurement of user journeys across both web and mobile app platforms. Voizee seamlessly aligns with your existing GA4 account by transmitting your call, text, and chat data to the events you’ve set up.

Getting started

Before you start, you’ll need to have a GA4 property and have the gtag installed on your site.

Integrating with Google Analytics 4

  1. Login to your Voizee account.
  2. Navigate to Settings > Website Widget > Widget Settings > Websites
  3. Select the website you want to edit and select the Widget Settings tab.
  4. Update Google Analytics Measurement Protocol setting.
  5. Click the Save button when done.
Please note: You will need to continue setup in the following section before you can start seeing Voizee data in your GA4 reports.

Sending Voizee data to Google Analytics 4

After you activate your integration in Voizee, there are a few other steps you’ll need to take before you can start seeing Voizee data in your GA4 reports. To complete the setup process below, you’ll need to receive an event through the integration first. For this reason, we recommend creating a test event (such as placing a callback call or submitting an SMS request from the widget) immediately after activating the integration so you can complete the setup process and start using your data in reports.

Important

The settings you choose below do not apply retroactively, so it’s important to complete this setup process in GA4 soon after activating the integration. If you wait, any data sent over before you complete the setup cannot be used in reports. For each interaction type being sent to GA4, you’ll decide whether each interaction will be sent as a custom dimension or a custom metric.

Create custom dimensions

You’ll need the Editor role to create custom dimensions. We recommend using custom dimensions for the following types of attribution data:
  • activity_id
  • activity_status
  • request_page_url
  • source
  • medium
  • campaign
  • first_time_caller
  • engagement_time_sec
  • call_duration
  • GCLID
Follow the steps below to create a custom dimension in Google Analytics:
  1. Click Admin.
  2. Choose Custom definitions from the Data display menu.
  3. Make sure the Custom dimensions tab is selected (it is by default).
  4. Click Create custom dimensions.
  5. Name the dimension.
  6. Choose Event for the scope type.
  7. Give the dimension a description.
  8. Select the event parameter to associate with this custom dimension.
  9. Click Save.
You will need to repeat this process for every piece of attribution data that you’d like to use as a dimension.

Create custom metrics

You’ll need the Editor role to create custom metrics. We recommend using custom metrics for the following units of measurement:
  • call_duration (time: seconds)
  • engagement_time_sec (time: seconds)
Follow the steps below to create a custom metric in Google Analytics:
  1. Click Configure.
  2. Choose Custom definitions from the Data display menu.
  3. Make sure the Custom metrics tab is selected.
  4. Click Create custom metric.
  5. Name the metric.
  6. Choose Event for the scope type.
  7. Give the metric a description.
  8. Select the event parameter to associate with this custom metric.
  9. Select the unit of measurement to associate with this custom metric.
  10. Click Save.
You will need to repeat this process for every piece of attribution data that you’d like to use as a metric.

Create custom events

You’ll need the Editor role to create custom events. Follow the steps below to create a custom event in Google Analytics:
  1. Click Admin.
  2. Choose Events from the Data display menu.
  3. Click Create event button.
  4. Enter Custom event name and Matching conditions
Create custom events in Google Analytics 4 for Voizee

Marking events as key events (optional)

You’ll need the Editor role to mark an event as a key event. You can mark our events as key events in GA4. This is an optional step. However, by marking events as key events, you can see our events in Acquisition, Engagement, and Advertising reports. We recommend completing this setup after activating your integration and receiving the first phone call, text, or chat event in GA4. This can be the same test event we recommend creating after activating your integration. Follow the steps below to mark an event as a conversion in Google Analytics:
  1. In Google Analytics, click Admin.
  2. Choose Events from the Data display menu.
  3. In the Existing events table, select the toggle under Mark as key event.
You can find Voizee conversions under the following names:
  • CallbackCall
  • SmsRequest
  • EmailRequest
  • Chat
  • InboundCall
  • InboundMsg

FAQs

Why isn’t GCLID data populating in GA4? The custom dimension for GCLID must be capitalized in GA4. If your GCLID custom dimension is in lowercase, you can remove it and replace it with a capitalized version. This will ensure that Voizee can populate GCLID data in GA4. How long does it take for data to appear in GA4? Data often appears soon after the integration is active. However, it can take up to 24 hours after activation for data to begin appearing in GA4.

Support

Still feeling stuck? Please send us your questions using this form.