How can we help? 👋

Integration with Google Tag Manager and Google Analytics

Learn how to set up GTM and GA integration

Last updated on July 20, 2022

If your site's Google Analytics (GA) code was set up with Google Tag Manager (GTM), you need to make some additional adjustments to forward the Convolo Leads events to GA.

 

First, open the “Widgets”Behaviour tab in the Dashboard and turn on Modern GA and GTM events.

 
Notion image
 

Now you can open your GTM console and create a new Variable for Google Analytics Settings

 
Notion image
Notion image
 

Select Google Analytics Settings as a variable type.

 
Notion image
 

Now you need to enter your Tracking ID on the Variable Configuration page. If you don't know it, then follow the instructions below to get it.

 
Notion image
 

You can get your Tracking ID from your Google Analytics page. You need to open the Tracking Code page in the Admin tab.

 
Notion image
 

Then go to the “Property” column and open Tracking Info.

 
Notion image
 

Click on the Tracking Code item to open the page with the Tracking ID

 
Notion image
 

Copy and paste the Tracking ID into the field on the Variable Configuration page and click Save.

 
Notion image
Notion image
 

After that, you can open GTM for your website and create a new tag.

 
Notion image
 

Choose tag type Google Analytics - Universal Analytics

 
Notion image
 

Track Type: Event

Event Tracking Parameters - Category:

Put the event code you want to track:

CONVOLO_OPEN_BY_TIMEOUT - popup window opened by timeout

CONVOLO_OPEN_WHEN_LEAVING - popup window opened when the user tried to leave the site

CONVOLO_OPEN_FROM_API - popup window opened through API call

CONVOLO_OPEN_FROM_TOOLTIP - popup window opened from clicking on the phone button tooltip

CONVOLO_OPEN_FROM_BUTTON - popup window opened from clicking on the phone button

CONVOLO_CALL - callback successfully ordered

CONVOLO_CLOSE - pop-up window closed

 

Google Analytics Settings: your GA Tracking ID.

 
Notion image
 

Then click Save. Next, you should add the trigger.

 
Notion image
 

Create a new trigger.

Notion image
 

Choose trigger type as Custom Event.

 
Notion image
 

Set the event name, the same as the type of event you put in the step earlier, to the GA category (CONVOLO_CALL, CONVOLO_CLOSE, or any other). Rename the trigger as you want, for example, “CallEvent”.

 
Notion image
 

After that, rename the tag, check the configuration, and click Save.

 
Notion image
 

Repeat the procedure for all the events you need. Don’t forget to ‘submit’ and ‘publish’ the changes to apply them to your site.

 
Notion image
 

If you don't get events in Google Analytics after the installation, you should click the widget phone button to open the pop-up window to generate an event. After that, you should press F12 in the browser (Chrome) to open the console, write dataLayer, and expand the output. In the expanded message, you should see our events.

 
Notion image
 

If you don't see the CONVOLO_ events there, you most likely didn't activate Modern GA and GTM events in the widget settings.

If you do see it, but there’s still nothing in GA, then you need to recheck and set up the goals according to this manual.

 

If you have any questions, please email us at support@convolo.ai

 
Did this answer your question?
😞
😐
🤩