Ask any question about Analytics & Tracking here... and get an instant response.
How do I set up event tagging for eCommerce in Google Analytics 4?
Asked on Nov 16, 2025
Answer
Setting up event tagging for eCommerce in Google Analytics 4 involves configuring specific events to track user interactions with your online store. This can be done using Google Tag Manager to ensure accurate data collection.
<!-- BEGIN COPY / PASTE -->
1. Open Google Tag Manager and create a new tag.
2. Choose "Google Analytics: GA4 Event" as the tag type.
3. Enter your GA4 Measurement ID.
4. Set the event name (e.g., "purchase", "add_to_cart").
5. Define event parameters such as item_id, value, currency, etc.
6. Configure the trigger to fire on relevant eCommerce actions.
7. Save and publish the container.
<!-- END COPY / PASTE -->Additional Comment:
- Ensure your GA4 property is set up with enhanced eCommerce tracking enabled.
- Use recommended event names and parameters for consistency and better insights.
- Test the setup using GTM's Preview mode to verify that events are firing correctly.
- Review the events in GA4 under Reports → Engagement → Events to confirm data collection.
Recommended Links:
