Skip to content
Microsoft Ads

Microsoft Ads server-side conversion tracking (UET Conversions API) on any website with Cloudflare: agent skill

The set-up-cloudflare-microsoft-ads-conversions-api agent skill: send every paid website purchase to your Microsoft Ads UET tag from the server, through the UET Conversions API, with profit, new customer and LTV as custom events.

set-up-cloudflare-microsoft-ads-conversions-api sets up server-side tracking for any website on Cloudflare in Microsoft Ads with Product Metrics. Send every paid website purchase to your Microsoft Ads UET tag from the server, through the UET Conversions API, with profit, new customer and LTV as custom events. It follows the guide Microsoft Ads server-side conversion tracking (UET Conversions API) on any website with Cloudflare.

The skill

Read the full file on GitHub (with its references) or at /.well-known/agent-skills/set-up-cloudflare-microsoft-ads-conversions-api/SKILL.md, or install it with:

pnpm dlx skills add product-metrics/skills \
  --skill set-up-cloudflare-microsoft-ads-conversions-api

In Claude Code, the product-metrics plugin adds every Product Metrics skill with the MCP server: /plugin install product-metrics --marketplace product-metrics/skills.

When an agent uses it

  • “Set up Microsoft Ads conversion tracking for my website.”
  • “Connect the Microsoft UET Conversions API.”
  • “Microsoft Ads (Bing Ads) reports fewer purchases than we have.”

What it does

  1. Reads where your setup stands and skips every step that is already done.
  2. Connects your website and Microsoft 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. All conversion actions it creates are secondary, as Product Metrics creates them; choosing which one a campaign bids on is your step.

What’s in it

The skill is a short SKILL.md with the workflow and the rules for working with Product Metrics (CLI for agents has the long form), plus reference files the agent reads only when it needs them. Each reference is built from a page in these docs:

To connect the store or channel, the skill has the agent read Server-side tracking and profit bidding on any website (Cloudflare) and Microsoft Ads conversion tracking (UET Conversions API) and customer lists as Markdown, so those steps aren’t copied into every skill.