How It Works
When you configure your Google Tag Manager container in your store’s Integrations, Ollie Shop automatically sends standardized e-commerce events to thedataLayer. These events follow Google’s recommended schema, ensuring seamless integration with GA4 and other analytics platforms.
Only a GTM container ID is required. Ollie Shop handles all event formatting and dispatching automatically.
Native Events
The following e-commerce events are automatically tracked throughout the checkout journey:| Event | Description | When It Fires |
|---|---|---|
view_cart | User views their shopping cart | Cart page is displayed |
begin_checkout | User initiates the checkout process | Checkout flow starts |
add_to_cart | Item is added to the cart | Product added during checkout |
remove_from_cart | Item is removed from the cart | Product removed during checkout |
add_shipping_info | User submits shipping information | Shipping step completed |
add_payment_info | User submits payment information | Payment step completed |
purchase | Transaction is successfully completed | Order confirmation |
Prerequisites
Before events are tracked, ensure you have:- A Google Tag Manager container configured
- The GTM container ID added to your store’s Integrations
- GA4 tags configured in GTM to receive the e-commerce events
What’s Next
Custom Events
Send custom analytics events from your components
Enrich Events with GTM
Add session context to events using GTM Custom HTML
Device Fingerprint
Anti-fraud device fingerprint compatibility
GTM Setup
Configure your GTM container ID