thumb

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

Publication date: 10.05.2023

Google Analytics 4 is the new version of Google Analytics and provides more accurate and useful data about visitors and user experience than the previous version. GA4 uses a new method of tracking users and events that collects more comprehensive information about user behavior on a site or in an app. You can now collect data not only on visits and pages, but also on events, such as clicking a button, filling out a form, or watching a video. This gives you a more complete picture of how users interact with your content and what actions they perform on your site or app.

Setting up Google Analytics consists of 2 parts:

1. setting up on the Google Analytics service itself (creation of data flow, connection and setting up analytics on the required site);

2. configuration of integration in UniTalk cabinet to transfer analytics data on call events (calltracking and c2c)

Step-by-step setup of Google Analytics on the service site:

1. Go to the Google Analytics page

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

2. Go to the Administrator settings on the main page

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

3. Click on “Data Streams”

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

4. Select the platform on which you want to perform data collection. In this case, you must select Web to work with the website.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

5. After selecting “Web”, you will be prompted to enter the address of the site where Analytics will run, and the name under which it will be saved in the Google Analytics cabinet.

You can also (optionally) set up more advanced analytics on various events occurring on the site. 

After filling out the necessary data, you need to click “Create Flow”.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

6. After the new “Data Stream” is created, a page opens with more detailed information and settings for this “Data Stream”.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

To configure and transfer information from UniTalk to Google Analytics you need 2 main parameters:

  1. The Google Analytics Tracking ID (indicator) is a unique code that is assigned to each website or app to identify and track user traffic;
  2. A secret API token (API key) is a secret key that allows other services and applications to access data in Google Analytics.

A Google Analytics tracking ID is automatically created and assigned to each “Data Flow” and is always written in the format “G-XXXXXXXXXXXX”. This ID is displayed in the general flow information.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

The secret API token, unlike the Google Analytics Tracking ID, is only created manually. This is done for data security purposes, as this token allows you to access your Google Analytics data and perform actions within the “Data Flow”. To create this token, go to the “Secret API tokens for Measurement Protocol” page and click “Create”. 

You will need to enter an alias (the name under which this token will be saved and displayed on the Analytics page) and then the new token will be generated.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK
INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

7. After this setup, the Google Analytics script needs to be installed on your tracked site. This can be done in various ways using special plugins for different platforms or you can manually insert the code on each page of the site.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK
INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

Once these settings have been configured and saved, you can proceed to setting up Google Analytics in the personal UniTalk cabinet

1. To do this, go to the “Integrations” tab – “Google Analytics”. This is the integration with version 4 of Google Analytics; if you want to use an older version, you need to go to the “Universal Analytics” tab.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

2. After going to this page, you have a page that displays previously created sites with dynamic call-tracking and a list of numbers that can be used for static call-tracking.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

The option to add a new site for tracking in UniTalk opens a menu in which you need to specify the site name (or any of its identifier) and the Google Analytics tracking identifier, which you should copy from the Google Analytics service page.

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

When you open the call-tracking settings, the settings menu for this site opens. For convenience, all settings are divided into 3 blocks:

Google Analytics Tracking ID and Google Analytics API Key values must be filled in with data previously obtained in the Google Analytics service.

Thanks to this data, UniTalk can send information to a specific web stream about calls

The main parameter in these blocks is the name of the event that is transmitted when a call occurs. 

IMPORTANT! The name must not contain spaces. If there are spaces in the event name, such an event will be filtered on the Google Analytics side.

Optionally, you can configure additional 2 event parameters that can be configured to transmit both static and dynamic values. 

Fully configured integration for dynamic call-tracking looks as follows:

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK

You can check the operation of event transmission on the Google Analytics page in the “Reports” block

INSTRUCTIONS FOR CONNECTING AND SETTING THE INTEGRATION OF GOOGLE ANALYTICS 4 AND UNITALK
Want to become a UniTalk client?
FREE CONSULTATION
Request a call back or give us a call +38 (093) 170 08 00 .