← Back
Track Pageviews for Your Shopify Website
Cloudflare for SaaS Orange-to-Orange (O2O) lets you put your Shopify website behind your own Cloudflare zone, even though Shopify also uses Cloudflare. Requests pass through your Cloudflare zone first and Shopify's Cloudflare zone second, allowing your zone to apply its configuration and produce HTTP request logs.
Step 1: Connect Shopify to Cloudflare
- If you do not already have one, create a Cloudflare account and add the domain you use for your Shopify website
- Follow Cloudflare's Shopify O2O setup guide to enable O2O and connect your website to Cloudflare
- Make sure that the DNS records for each website hostname you want to track, such as
example.comandwww.example.com, have Proxied (orange cloud) enabled
Step 2: Configure Cloudflare Logpush
Once your website's traffic is passing through your Cloudflare zone, follow the Cloudflare Logpush guide to forward HTTP request logs to Known Agents.