Skip to content
Connect your store

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.

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.

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/mcp

Claude Code: run this in your terminal.

claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp

CodexAll clients and details →

Paste the prompt 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).

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.

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:

  1. Selects Connect Cloudflare, signs in to Cloudflare and approves Product Metrics.
  2. Chooses the Cloudflare account and the Cloudflare zone your domain is in.
  3. 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.

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.

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
InstallSign in to Cloudflare, approve Product Metrics, choose your domain
Order sourceThe purchase your order confirmation page reports
Product costNone on website orders: Product cost fallback (%) plus your additional costs
ConsentOneTrust, Cookiebot, Usercentrics or Osano
Value sentExactly the order value the page reported
Refunds and cancellationsTracked by Product Metrics. Google Ads conversions are adjusted; events already sent to Meta and ChatGPT Ads aren’t revised
DisconnectProduct Metrics removes its Cloudflare resources, which takes tracking off your pages; the website stays set up

What you get with Cloudflare Tracking

FeatureChannelsOn this platform
Server-side conversion trackingGoogle Ads · Meta · ChatGPT AdsPurchases your confirmation page reports, served from your domain; the first report wins.
Enhanced ConversionsGoogle Ads · Meta · ChatGPT AdsSent only with ad user data consent.
Customer listsGoogle AdsCustomer Match lists from the purchases Product Metrics receives.
POAS and ROAS biddingGoogle Ads · Meta · ChatGPT AdsNo product costs: profit uses Product cost fallback (%) plus your additional costs.
New customer biddingGoogle Ads · MetaOnly purchases Product Metrics has already seen; the page reports no history.
Returning customer biddingGoogle Ads · MetaSame as new customers: purchases Product Metrics has already seen.
LTV biddingGoogle Ads · Meta · ChatGPT AdsBuilt from the purchases Product Metrics receives from the website.

Troubleshooting

“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

Developers: do the same with the CLI or the API.