How to set up same origin server-side GTM on Webflow with Cloudflare

Written by

Lars Friis

Published Jun 1, 2026 comments

Step-by-step setup

Step 1. Enable Cloudflare proxy for Webflow (O2O)

1.1. Move DNS records to Cloudflare

Move DNS records to Cloudflare
Move DNS records to Cloudflare

1.2. Switch root DNS record to a CNAME record

Remove the A record for root
replace it with a CNAME

1.3. Wait for the SSL to beсome active in Webflow

Wait for the SSL to beсome active in Webflow

1.4. Enable Cloudflare proxy and set SSL to Full (Strict)

Enable the Cloudflare proxy
Enable the Cloudflare proxy
Configure O2O with Full (Strict) SSL

1.5. Wait for SSL to be proxied in Webflow

Webflow SSL certificate status to change to Proxied

Step 2. Set up a custom Worker in Cloudflare

Summary

Want to start on the server side?

Try for free

Written by

Lars Friis

Content writer

Lars Friis is a Danish tracking specialist helping eCommerce and SaaS companies improve their marketing performance through advanced, privacy-compliant tracking setups.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free