Posts tagged with measurement-protocol

I'm completly lost !I started to use Google Ads for my B2C Saas and I need to send conversion event to it.

I use stripe as payment provider. So I use webhook on my backend to handle payment.success event and trigger an event 'purchase' with Google Measurement Protocol. It's working half of the time and and I don't see events in real time in the debugview.

🤔 My first question is Measurement Protocol the good way to do in this context ?

🤔 Secondly, is it possible to use Google Tag Manager to fetch purchase events from HTTP requests done with Google Measurement Protocol and relay them to Google Ads?

Backend -- (purchase event) --> GTM --> Google ADS (Conversion) & GA4

Here a payload example I use to test :

{     "client_id": "1770912193.1700571402",     "user_id": "***************",     "timestamp_micros": "1700585815945000",     "non_personalized_ads": true,     "events": [         {             "name": "purchase",             "params": {                 "items": [],                 "currency": "EUR",                 "transaction_id": "123456789",                 "value": 6.60,                 "debug_mode": 1             }         }     ] } 

I'm trying to finish my analytics setup and I've got a bit confused what is the best way forward. The end goal is to have tracking setup that enables me to optimize my Google and Facebook campaigns towards approved users instead of just signed up users. Our product has the following funnel:

  1. User visits our website
  2. He signs up for our product using website lead form (at this moment I have user's email, name, phone number etc.)
  3. Based on our evaluation (that can take hours or days) the user is approved or disapproved in our CRM

I want to provide the advertising systems (mainly Google Ads and Facebook Ads) with an information when the user was approved with all the required ids so the system can trace the event back to the ad the user clicked.

I have the following analytical stack that I am working with:

  • Website GTM container
  • Server GTM container (GA4+ UA clients, GA4 + UA + FCAPI tags)
  • Facebook Conversion API implemented in sGTM

What would be the best way in your opinion to implement the tracking of the event that is fired from our CRM when user is approved? I was thinking about using Measurement Protocol to send the event to sGTM/GA4 or Enhanced conversions for leads for Google Ads but neither solutions seems to fit 100 % to my scenario. What would you recommend? Thank you for any inputs.