Webhook to ga4 and import conversion for google ads

I’m using a third-party payment gateway that triggers a webhook on conversion. I’m storing gclid and client_id in Stape Store on the initial user visit. When the webhook fires, I want to send the conversion event to GA4 via GTM Server-Side, including the stored gclid and client_id, so I can import the conversion into Google Ads with proper attribution.

Is this the correct approach, and are there any best practices or pitfalls I should be aware of when doing this with Stape Store and GA4?

@Alex @giovaniortolani

Yes, this is the right approach and in the case of webhooks this is the approach most often used.

But given that you have gclid - it also makes sense to send this as a conversion to Google ADS directly using the Google ADS offline tag.