Facebook offline conversion using server GTM

Written by

Ira Holubovska

Updated Sep 29, 2026 comments

What is Facebook offline conversions?

Stape Conversion Tracking CRM Apps

Using webhooks

Why use Facebook offline tracking?

Facebook offline conversion tracking

Step 1: Configure webhooks

Configure webhook in WordPress
Domain name in Stape admin

Please note:

Make sure you add a path for the webhooks to differentiate webhook requests from other requests.

Step 2: Enable the preview of webhooks in server GTM

Send requests manually in server GTM
X-Gtm-Server-Preview HTTP header
sGTM Preview header config
Enable and configure the power-up.

Step 3: Add Data Client in sGTM

Import Data Client in server GTM
Client configuration

How to set up Facebook offline conversions tracking using sGTM

Add Facebook conversions API from the Gallery
Facebook Conversions API Tag in server GTM
Dataset ID in Business Manager
Generate Access Token
Example of Facebook Conversions API Tag configuration
Trigger Configuration for a Facabook CAPI Tag

Test the Facebook Conversions API tag

Send test webhook
Webhook in Preview and Debug Mode

How to improve Event Match Quality when offline data is incomplete

FAQs

Conclusion

Want to start on the server side?

Try for free

Written by

Ira Holubovska

Content writer

Ira has 10+ years of digital marketing experience, with the last 5 focused on server-side tracking. She understands how and when it works across various digital marketing scenarios.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free