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