Ask any question about Analytics & Tracking here... and get an instant response.
How can I set up a custom event in Google Tag Manager for GA4?
Asked on Oct 29, 2025
Answer
To set up a custom event in Google Tag Manager (GTM) for Google Analytics 4 (GA4), you'll need to create a new tag that sends event data to your GA4 property. This involves configuring the tag with the appropriate event parameters and triggers.
<!-- BEGIN COPY / PASTE -->
1. Open Google Tag Manager and click on "Tags" in the left-hand menu.
2. Click "New" to create a new tag.
3. Choose "Google Analytics: GA4 Event" as the tag type.
4. Select your GA4 Configuration Tag from the dropdown.
5. Enter the Event Name (e.g., "custom_event").
6. Add Event Parameters as needed (e.g., parameter name: "value").
7. Set up a Trigger to fire the tag (e.g., "All Pages" or a specific event).
8. Save the tag and publish your container.
<!-- END COPY / PASTE -->Additional Comment:
- Ensure your GA4 Configuration Tag is already set up before creating the event tag.
- Test your tag using GTM's Preview mode to verify it fires correctly.
- Check the Realtime report in GA4 to confirm event data is being received.
- Use descriptive event names and parameters for easier reporting and analysis.
Recommended Links:
