Server-side tracking and profit bidding on any website (Cloudflare)
No supported shop platform? Sign in to Cloudflare and Cloudflare Tracking sends your website's purchases server-side to Google Ads, Meta and ChatGPT Ads, so you can bid on profit.
Cloudflare Tracking is for any website that isn’t on Shopify, WooCommerce, Magento, Lightspeed or Shopware 6. It reads each purchase from your order confirmation page and sends it server-side to each ad channel.
All you do is sign in: you log in to Cloudflare, approve Product Metrics and choose your domain, and Product Metrics adds the tracking to every page. No code, no Google tag.
Sign in to Cloudflare. No code, no Google tag.
None on website orders: Product cost fallback (%).
OneTrust, Cookiebot, Usercentrics or Osano.
Set it up with AI
Connect your assistant
First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.
In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:
https://www.productmetrics.io/mcpClaude Code: run this in your terminal.
claude mcp add --transport http product-metrics https://www.productmetrics.io/mcpSetting it up with AI takes one prompt and 60 seconds: paste it into your assistant.
Connect my website to Product Metrics with Cloudflare Tracking. Check my setup status first, walk me through each open step, and give me the link when I need to sign in to Cloudflare.Connect my website to Product Metrics with Cloudflare Tracking. Check my setup status first, walk me through each open step, and give me the link when I need to sign in to Cloudflare.Connect my website to Product Metrics with Cloudflare Tracking and walk me through each open setup step, giving me the link when I need to sign in to Cloudflare. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).Connect my website to Product Metrics with Cloudflare Tracking and walk me through each open setup step, giving me the link when I need to sign in to Cloudflare. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).Prerequisites
- A website whose domain uses Cloudflare DNS, with its DNS record proxied (the orange cloud).
- A Cloudflare login for that account that can approve access. Product Metrics never changes your DNS.
- A workspace, a property for the orders, and a workspace admin for the Cloudflare sign-in.
Running Shopify, WooCommerce, Magento, Lightspeed or Shopware? Use that platform’s page: it reads orders from the shop itself.
In the app
1. Add your website
Go to Ecommerce platforms → Connect Cloudflare Tracking and enter the hostname your customers visit. One installation per hostname.
Open Ecommerce platforms
Go to Integrations → Ecommerce platforms. Under Unlock server-side conversion tracking, select Connect on Cloudflare Tracking.
Start the setup
The page lists three steps: add your website, link a property and connect Cloudflare. Select Connect Cloudflare Tracking.
Enter your website domain
Enter the domain your customers visit and select Connect. One installation per hostname.
You should see: Cloudflare Tracking list your website under Ecommerce platforms.
2. Send its orders to a property
Under Storefront scopes, link the property that should receive the orders.
3. Sign in to Cloudflare
This is the whole setup on your side, in a browser. In Tracking, under Complete your tracking setup, open Connect Cloudflare. A workspace admin:
- Selects Connect Cloudflare, signs in to Cloudflare and approves Product Metrics.
- Chooses the Cloudflare account and the Cloudflare zone your domain is in.
- Selects Set up gateway and keeps the page open until it finishes.
Product Metrics adds the tracking to every page of your domain. Nothing to paste or publish.
You should see: Gateway setup complete.
4. Finish tracking setup
- Consent: choose your banner (OneTrust, Cookiebot, Usercentrics or Osano). See Consent.
- Channels: connect Google Ads (with Data Manager access), Meta and ChatGPT Ads (OpenAI).
- Google Ads conversion actions: create them.
- Additional costs: website orders carry no product costs, so set Product cost fallback (%) and add shipping, handling, returns and payment fees. See Costs.
Step by step in Tracking:
Open Tracking
Go to Integrations → Tracking. The checklist shows six steps: start by connecting your store, or use Cloudflare Tracking if you have no store platform.
Follow the next step
Once your store is connected and linked, the checklist opens the next open step. Each step says what it does.
Configure consent
Under Configure consent, pick the cookie consent platform your storefront uses. The storefront script collects nothing until the visitor agrees.
Create Google Ads conversions
Under Create Google Ads conversions, select Create 8 conversion actions. Product Metrics manages one Google Ads conversion action per purpose; they start as secondary goals, and you choose the primary goal in Google Ads.
Add your additional costs
Product costs come from your store where it reports them. Under Add your additional costs, add shipping, handling, returns and payment fees, set Product cost fallback (%) and select Activate additional costs, so the profit conversions carry real profit.
You should see: the badge next to Tracking read Tracking active.
5. Check your purchases
Place a test order and finish it through to the order confirmation page. Then open Check your purchases in the app; your order shows within two minutes.
Check storefront collection
Storefront & data collection shows how tracking runs on your site and which consent and profit settings apply.
Review the Google Ads destination
The Google Ads panel shows the connection, the conversion actions, profit tracking and the enhanced conversions terms.
Check that tracking is live
When every step is done, the badge next to Tracking reads Tracking active, and Tracking shows how many conversion actions receive orders.
You should see: Last purchase received with the order’s number and value. Under the Cloudflare gateway, Live endpoints lists the Tracking SDK and Event collector on your domain.
How it works on a website
| On a website | |
|---|---|
| Install | Sign in to Cloudflare, approve Product Metrics, choose your domain |
| Order source | The purchase your order confirmation page reports |
| Product cost | None on website orders: Product cost fallback (%) plus your additional costs |
| Consent | OneTrust, Cookiebot, Usercentrics or Osano |
| Value sent | Exactly the order value the page reported |
| Refunds and cancellations | Tracked by Product Metrics. Google Ads conversions are adjusted; events already sent to Meta and ChatGPT Ads aren’t revised |
| Disconnect | Product Metrics removes its Cloudflare resources, which takes tracking off your pages; the website stays set up |
What you get with Cloudflare Tracking
Each feature, its channels and the Cloudflare Tracking guide for each:
Troubleshooting
| Problem | Fix |
|---|---|
| “Proxy the storefront DNS record first” | Turn on the orange cloud for your domain’s DNS record in Cloudflare, then choose the zone again. |
| “Update the storefront domain first” | The zone doesn’t contain your domain. Select Change storefront domain, enter the hostname customers use without https://, and choose the zone again. |
| “Some permissions were not granted” or “Cloudflare did not authorize Product Metrics” | Select Connect Cloudflare again and approve every permission. |
FAQ
Do I need a developer or any code for Cloudflare Tracking?
No. The setup is signing in to Cloudflare: you approve Product Metrics, choose your domain, and Product Metrics adds the tracking to every page. Nothing to paste or publish.
Does Product Metrics change my DNS?
No. Your domain needs Cloudflare DNS with its record proxied (the orange cloud), but Product Metrics never changes your DNS.
Can I bid on profit without product costs?
Yes. Website orders carry no product cost, so profit for POAS bidding uses your Product cost fallback (%) plus your additional costs. Set both in Costs.
Are refunds and cancellations tracked?
Yes. Product Metrics adjusts the Google Ads conversion when the order is refunded or cancelled, and counts the refund in profit and lifetime value. Meta and ChatGPT Ads don’t accept revisions, so events already sent to them stay as they are.
Where next
Connect Google Ads and Merchant Center.
Send purchases through the Meta Conversions API.
Send purchases through the OpenAI Conversions API.
Set the product cost fallback.
The checks to run after your first order.
Every setup task and where to find it.
On the website: Full Signal Tracking, pricing, supported platforms