Skip to content
English - United States
  • There are no suggestions because the search field is empty.

How to set up Google Analytics 4 to send conversion events

Overview

This tutorial has all the steps to set up sending Leadster events to GA4! 💙


Watch the video

In the video below (in Portuguese), we created a step-by-step guide to do this through Google Tag Manager (and best of all, it takes less than 5 minutes :D)



If you prefer, here's the written step-by-step guide:


Step by step

*After logging in to Google Analytics and Google Tag Manager, just follow these steps:


  1. Check that Leadster is working correctly on your website;
  2. Create a new tag in Tag Manager

  1. Select GA4 Configuration as the tag type

  1. Add the Measurement ID

To find your Measurement ID, you can follow the steps below:


  1. After adding the ID to the Tag Manager tag, set the tag trigger to all pages, using the All Pages option, and save the tag

  1. Once you save the tag, the next step is to click the Preview button

  1. Enter your website URL in the identification field, click connect, and wait.

  1. Check that the tag appears to be set up correctly. I recommend running a test by generating a lead in your flow — this way you can already see in the Tag Assistant tab that the data filled in at each step of the flow was recorded.

First step done!


Now we'll choose which event will count as a conversion. It can be any answer field in your flow (fields in green)


Let's go!


  1. The first step is to create a new tag in Tag Manager and select GA4 Event as the tag type

  1. Then click Configuration Tag and choose the None - Manually Set ID option

  1. Enter your Measurement ID again

  1. After adding the ID to the Tag Manager tag, set the tag trigger to all pages, using the All Pages option, and save the tag

  1. Enter the GA4 ID in the ID da tag (Tag ID) field in your Leadster flow

*The category and action names can be changed; they work as identifiers


  1. Back in the Tag Manager tag setup, the next step is to click the Event Parameters tab

In the Parameter Name field, enter the same value that's in the Categoria (Category) field in Leadster

The Value field should be filled in with the name in the Ação (Action) field in Leadster

*The fields to copy the information from are the ones in the image in step 5

  1. The event name must match the events recorded in Tag Assistant. Remember that any lead answer event can be chosen

So copy the event name from Tag Assistant and paste it into the Event Name field

  1. Click save and publish the TAG

Done! Now just save the information and check the data in Google Analytics 4.


Points to watch out for

NOTE: Conversion data isn't shown in real time; it can take 5 to 30 minutes to be counted.


Best regards! 💙