Hello, I am trying to send Posthog events to google ads and faecbook ads with Stpae and Google tag manager. Where i start and how to make it happen?
If Posthog can emit events to custom endpoints (which I believe it can), then this is your normal webhook scenario, please check these:
- What is Webhook, Webhook Server | How to Use and Implement
- Debug incoming webhooks in Google Tag Manager server preview - Stape
- Send data from CRM to Facebook Conversions API using webhooks - Stape
Overall:
- Dispatch an event to your server container url (tagging server URL)
- Catch(claim it) with Data Client GitHub - stape-io/data-client: Data Client for Google Tag Manager Server Side
- Map required data into Facebook CAPI tag and assign a trigger
- Map required data into Google Ads Offline Tag and assign a trigger
- Enjoy and come back for more questions
