← Back
Track Pageviews for Your Salesforce Commerce Cloud Website
Cloudflare for SaaS Orange-to-Orange (O2O) lets you put your Salesforce Commerce Cloud website behind your own Cloudflare zone, even though Salesforce Commerce Cloud also uses Cloudflare. Requests pass through your Cloudflare zone first and Salesforce Commerce Cloud's Cloudflare zone second, allowing your zone to apply its configuration and produce HTTP request logs.
Step 1: Connect Salesforce Commerce Cloud to Cloudflare
- If you do not already have one, create a Cloudflare account and add the domain you use for your Salesforce Commerce Cloud website
- Follow Cloudflare's Salesforce Commerce Cloud 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.