Skip to content
ChatGPT Ads

ChatGPT Ads server-side tracking (OpenAI Conversions API) on any website with Cloudflare: agent skill

The set-up-cloudflare-chatgpt-ads-conversions-api agent skill: send every paid website purchase to your ChatGPT Ads pixel from the server, through the OpenAI Conversions API.

set-up-cloudflare-chatgpt-ads-conversions-api sets up server-side ChatGPT Ads tracking for any website on Cloudflare with Product Metrics, plus hashed customer data for matching. Send every paid website purchase to your ChatGPT Ads pixel from the server, through the OpenAI Conversions API. It follows the guide ChatGPT Ads server-side tracking (OpenAI Conversions API) on any website with Cloudflare.

The skill

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

npx skills add https://www.productmetrics.io/docs \
  --skill set-up-cloudflare-chatgpt-ads-conversions-api

When an agent uses it

  • “Track ChatGPT Ads conversions from my website.”
  • “Connect the OpenAI Conversions API.”
  • “Which orders does ChatGPT Ads see?”

What it does

  1. Reads where your setup stands and skips every step that is already done.
  2. Connects your website and ChatGPT Ads if they aren’t connected yet.
  3. Turns on server-side tracking step by step: consent banner, test event and test order.
  4. Adds hashed customer data for matching, so ChatGPT Ads matches more orders to the person who clicked.
  5. Checks a test order, 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: