How to set up marketing event delivery management - GA4
In this article
Overview
The Gerenciamento de disparo de eventos de marketing (Marketing event delivery management) panel lets you send conversion events generated in Leadster flows directly to Google Analytics 4 (GA4).
This lets you measure conversions, analyze user behavior, and use this data to optimize your marketing campaigns and strategies.
How to set it up
1. Log in to Leadster and, in the top-right corner of the screen, click the arrow next to your username and then: Minha conta → Gerenciamento de disparo de eventos de marketing → Google Analytics 4 (My account → Marketing event delivery management → Google Analytics 4).
2. Then click Adicionar nova credencial (Add new credential).

3. In the pop-up, fill in the information:

- Credential name: choose an internal name for organization (example: GA4 – Main Website).
- Measurement ID:
Enter your GA4 property ID (format G-XXXXXXXXXX).
How to find the Measurement ID:
- Log in to your Google Analytics account.
- Go to Admin (gear icon).
- Click Data streams.
- Select the Web stream for your website.
The Measurement ID will appear at the top of the screen and starts with “G-”.
Copy this code and enter it in the Measurement ID field in Leadster.
- API Secret: enter the code generated in GA4 for sending via the Measurement Protocol.

To generate the API Secret:
Enter the code generated in GA4 for sending via the Measurement Protocol.
💡 How to generate or find the API Secret:
- Open Google Analytics.
- Go to Admin → Data streams.
- Select the Web stream.
- Scroll down to the Measurement Protocol API secrets section.
If a key already exists:
Click the Secret value, copy it, and paste it into the API Secret field in Leadster.
If there's no key yet:
Click Create, give it a name (example: Leadster), and generate the new key.
Then copy the code and enter it in the API Secret field in Leadster.
⚠️ You need admin or editor permission on the GA4 property to generate the API Secret.
4. Click Salvar (Save). If everything is correct, the credential will become active and ready to use in your flows.
Important tips:
- Check that you're using the Measurement ID of the correct property.
- The ID must start with “G-”.
- The API Secret is required for events to be sent correctly.
- If the events don't appear, use DebugView in GA4 to validate them.
- If an error occurs, review the Measurement ID and API Secret before trying again.
If you have questions during the process, contact our support team!
Best regards 👋