Meta CAPI for Wordpress via server GTM

Written by

Ivanna Holubovska

Updated Oct 2, 2026 comments

Step 1. Configure server Google Tag Manager container.

set up server gm
set up server gtm
set up server gtm
log in or sign up to access Stape
log in or sign up to access Stape
New container
stape pricing plans
running container on stape

Step 2. Set up Custom Loader in Stape admin.

Find and copy your WEB GTM ID in GTM 
Stape account
sGTM containers
Power-ups section in Stape account
Custom Loader and click generate

Step 3. Configure Stape Conversion Tracking plugin for WordPress.

Stape Conversion Tracking plugin
WEB Google Tag Manager ID, tagging server URL, and stape container identifier if you use a custom loader.
Data Layer from your eCommerce website

Step 4. Download and Import container templates from our GitHub.

GTM templates for wordpress
GTM templates for wordpress
GTM templates for wordpress
Merge

Step 5. Сonfigure GTM container templates.

web Сonfigure GTM container templates
server Сonfigure GTM container templates
proper values for variables
Pixel ID and API token
Pixel ID and API token
add a preview URL in your server container

Step 6. Test the setup.

test_event_code
look up table variable
 Facebook Test Event page

Want to start on the server side?

Try for free

Written by

Ivanna Holubovska

Content writer

Ivanna is a Lead Content Manager at Stape and a certified author on Clutch and KyivPost. She writes high-quality content on server-side tracking to help businesses optimize strategies and analytics.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free