Hi everyone,
I’m looking for some advice on a tracking setup.
Client’s Current Setup and Requirements
My client currently uses Matomo Tag Manager on their website and doesn’t want to use Google Tag Manager (GTM) in any form on the website.
They want to implement server-side conversion tracking for form submissions to Google Ads and Microsoft Ads, using Stape as the server-side tracking solution.
As far as I understand, the typical setup involves using a web GTM container to collect form submission events and relevant data, then sending that data to a server-side GTM container for processing and forwarding it to the advertising platforms.
However, the client doesn’t want to use web GTM at all, so I’m trying to understand what alternative approaches are available.
My Questions
1. Can Matomo Tag Manager send data to server-side GTM?
Is there a way to use Matomo Tag Manager to capture form submissions and send the events and relevant form data directly to a server-side GTM container hosted on Stape, without installing or using web GTM?
If this is possible, what would the implementation look like? Would it require custom JavaScript, a custom HTTP request, or another approach?
2. What challenges could I face with click IDs and attribution?
For Google Ads and Microsoft Ads conversion tracking, we may need to capture and preserve identifiers such as gclid, gbraid, wbraid, and msclkid.
Without web GTM, how should these identifiers be captured, stored, and passed along with the lead data? Are there any additional challenges with attribution, cookies, consent management, or matching offline conversions to the original ad clicks?
3. What are the available implementation options?
I know Stape provides a Matomo tag for server-side GTM, which can forward data from the server-side container to Matomo. However, my understanding is that this doesn’t automatically solve the challenge of collecting website events and sending them to the server-side container without web GTM.
4. Can Matomo Tag Manager use a custom loader hosted on Stape?
GTM can be configured to load its container through a custom first-party domain using Stape’s custom loader functionality.
Is there a similar way to modify or serve the Matomo Tag Manager container code through Stape, or would that require a completely different implementation?
5. Are there any relevant documentation or implementation examples?
If you’ve implemented something similar, I’d appreciate any documentation, guides, or real-world examples that explain how to connect Matomo Tag Manager with server-side GTM and send conversion data to advertising platforms without using web GTM.
Thanks in advance for your help!