| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Website (website) • eCommerce (website_sale) • Discuss (mail) |
| Lines of code | 1913 |
| Technical Name |
gtm_server_side |
| License | AGPL-3 |
| Website | https://www.stape.io |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Website (website) • eCommerce (website_sale) • Discuss (mail) |
| Lines of code | 1913 |
| Technical Name |
gtm_server_side |
| License | AGPL-3 |
| Website | https://www.stape.io |
Google Tag Manager Server-Side for Odoo
Connect your Odoo 19 store to Stape-hosted sGTM and get accurate, server-side conversion tracking with a full ecommerce data layer, user data enrichment, and server-to-server webhooks â all without writing a single line of code.
Key Features
sGTM Script Injection
Automatically loads your server-side GTM container script on every page â with optional custom loader to bypass ad blockers.
Full Ecommerce Data Layer
Pushes all 8 GA4 ecommerce events: view_item_list, view_item, add_to_cart, remove_from_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase.
User Data Enrichment
Injects hashed user data (email, name, phone, address) into the data layer for both logged-in users and guest checkout customers.
Server-to-Server Webhooks
Fires purchase and refund webhooks directly from the Odoo server to your sGTM container â no browser required, no ad blocker can block it.
Cookie Keeper
Extends first-party cookie lifetime using Stape's Cookie Keeper power-up, ensuring accurate attribution across sessions.
Simple Admin UI
Configure everything from Website → Configuration → Stape Conversion Tracking. No code editing required.
Ecommerce Events Tracked
Every event fires with cart_state, user_data, and delivery context pre-populated.
| Event | Trigger | Type |
|---|---|---|
view_item_list_stape |
Shop listing page | Frontend |
view_item_stape |
Product detail page | Frontend |
add_to_cart_stape |
Add to cart action | Frontend |
remove_from_cart_stape |
Remove from cart | Frontend |
view_cart_stape |
Cart page | Frontend |
begin_checkout_stape |
Checkout address step | Frontend |
add_shipping_info_stape |
Payment selection page | Frontend |
add_payment_info_stape |
Payment method selected | Frontend |
purchase_stape |
Order confirmation page | Frontend + Webhook |
refund |
Credit note posted | Webhook only |
How It Works
Install & Configure
Install the addon and enter your sGTM container URL in the Stape Conversion Tracking settings page.
Enable Features
Toggle on ecommerce tracking, user data, webhooks, Cookie Keeper, and custom loader as needed.
Test
Use the built-in "Send test webhook" button to verify your server connection, then browse your shop to trigger frontend events.
Track & Optimize
Events flow through your sGTM container to Google Analytics 4, Meta Pixel, or any other destination tag.
Requirements
- ✓ Odoo 19 Community or Enterprise
- ✓ Website + eCommerce modules installed
- ✓ A Stape-hosted sGTM container (or any server-side GTM container)
- ✓ Optional: Custom Loader and Cookie Keeper power-ups from Stape
- ✓ No additional Python packages required
Built by Stape
Stape is the leading infrastructure provider for server-side Google Tag Manager. This addon is the official Odoo integration â purpose-built for Stape-hosted sGTM containers.
Questions? Contact us at support@stape.io
Please log in to comment on this module
Great App.
There are no comments yet!