Skip to main content
Integrating with GTM & GA4

Learn how to set up Google Tag Manager and Google Analytics integration

Updated over a week ago

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.

๐Ÿ‘‡ Now you can open your GTM console and create a new Variable for Google Analytics Settings.

Notion Image

๐Ÿ‘‡ Select Google Analytics Settings as a variable type.

๐Ÿ‘‡ 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.

๐Ÿ‘‡ You can get your Tracking ID from your Google Analytics page. You need to open the Admin tab and in the Property column, click Data streams.

๐Ÿ‘‡ Click the data stream.

Copy the Tracking ID that starts with "G-" from โ€œMEASUREMENT IDโ€ column.

๐Ÿ‘‡ Paste the Tracking ID into the field on the Variable Configuration page and click Save.

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

๐Ÿ‘‡ Choose tag type Google Analytics: GA4 Event.

Event Name:

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

๐Ÿ‘‡ Configuration Tag: your GA Tracking ID.

๐Ÿ‘‡ Then click Save. Next, you should add the trigger.

๐Ÿ‘‡ Create a new trigger

๐Ÿ‘‡ Choose trigger type as Custom Event.

๐Ÿ‘‡ 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โ€.

๐Ÿ‘‡ After that, rename the tag, check the configuration, and click Save.

๐Ÿ‘‡ Repeat the procedure for all the events you need. Donโ€™t forget to โ€˜submitโ€™ and โ€˜publishโ€™ the changes to apply them to your site.

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.

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.

Please email us at [email protected], in case you need any help.

Did this answer your question?