Skip to content
Google Ads

Server-side tracking for Google Ads on any website with Cloudflare: agent skill

The set-up-cloudflare-google-ads-conversion-tracking agent skill: send every purchase from your website to Google Ads from the server, with the script served from your own domain.

set-up-cloudflare-google-ads-conversion-tracking sets up server-side tracking for any website on Cloudflare in Google Ads with Product Metrics. Send every purchase from your website to Google Ads from the server, with the script served from your own domain. It follows the guide Server-side tracking for Google Ads on any website with Cloudflare.

The skill

Read the full file at /.well-known/agent-skills/set-up-cloudflare-google-ads-conversion-tracking/SKILL.md, or install it with:

pnpm dlx skills add https://www.productmetrics.io/docs \
  --skill set-up-cloudflare-google-ads-conversion-tracking

When an agent uses it

  • “Set up server-side Google Ads conversion tracking for my website.”
  • “Google Ads is missing purchases since iOS and ad blockers. Can we fix that?”
  • “Send every paid order to Google Ads with its profit.”

What it does

  1. Reads where your setup stands and skips every step that is already done.
  2. Connects your website and Google Ads if they aren’t connected yet.
  3. Turns on server-side tracking step by step: consent banner, test event and test order.
  4. Checks the test order arrived, then tells you what is live and what is left for you.

The agent works through the productmetrics CLI or the MCP server. Steps in your store admin or ad platform stay with you: the agent gives you the exact labels and waits until you are done.

What’s in it

The skill is a short SKILL.md with the workflow, plus reference files the agent reads only when it needs them. Each reference is built from a page in these docs:

ReferenceBuilt from
references/server-side-tracking.mdServer-side tracking for Google Ads on any website with Cloudflare
references/connect-cloudflare.mdServer-side tracking and profit bidding on any website (Cloudflare)
references/connect-google-ads.mdGoogle Ads server-side conversion tracking
references/working-with-product-metrics.mdCLI for agents