set-up-cloudflare-chatgpt-ads-conversions-api
ChatGPT Ads conversion tracking for any website on Cloudflare (Cloudflare Tracking, no store plugin) through the OpenAI Conversions API. Use this skill when a…
от aiskillstore★ 509 звёзд на GitHub
Установить set-up-cloudflare-chatgpt-ads-conversions-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ChatGPT Ads server-side tracking (OpenAI Conversions API) on any website with Cloudflare
Send every paid website purchase to your ChatGPT Ads pixel from the server, through the OpenAI Conversions API. Server-side sending matters because a browser pixel misses the purchases that ad blockers and browser privacy rules block, and ChatGPT Ads can only optimise on the purchases it sees.
You run the Product Metrics steps through its CLI or MCP server; the person does the steps in Cloudflare and ChatGPT Ads. The rules below say how to work with both.
Rules
- All conversion actions by agents are secondary, the status Product Metrics creates its actions with. Choosing what a campaign bids or optimises on (making an action primary, or picking the Meta or ChatGPT Ads conversion) is the person's step, by every route and also when they ask: give them the exact clicks, wait until they say it is done, then read it back.
- Pick the interface in this order: the
productmetricsCLI (check withproductmetrics status --json, pass--jsonto every command, and runproductmetrics <group> <command> --help --jsonbefore one you have not used); then the Product Metrics MCP server (https://www.productmetrics.io/mcp:searchthe API spec, thenexecute; never guess a path or body); otherwise the app steps in https://app.productmetrics.io. - Read where setup stands first:
productmetrics setup get-status --json(MCP:setup.get_status). Readjourney_stageand thenext_actionfields, read it again with--company-idand--property-idonce you know them, skip every step that is done and tell the person which ones are. - Discover ids, never invent them.
company_id,property_id, installation and scope ids come from earlier results. - Writes: pass
--auto-idempotency-key(MCP:idempotencyKey: crypto.randomUUID()) where the command's--helplists it, and retry a failed write with the key the error hint names. Other writes take no key: read the state before you retry. - Browser steps: exit code 4 or
next_action: { "type": "browser", "url": … }means the person opens the URL. Say what they will see, wait until they say they are done, then read the state again. A WooCommerce or Shopware 6 store returns"type": "store_plugin"instead: the person pastes the setup token into the Product Metrics plugin in their store admin before it expires. - Steps in the store admin or ad platform are the person's: give them the exact labels from the reference or docs page.
- Secrets: never ask for, print or store passwords, tokens or API keys, except a credential the API needs from the person (the Lightspeed API key and secret, the Meta Conversions API access token, the OpenAI Conversions API key). Pass it straight to the command and never repeat it, log it or put it in a summary.
- Deletes only when the person explicitly asks.
- "Ask your assistant" steps are yours. Answer them with
productmetrics orders list --company-id <company_id> --storefront-scope-id <scope_id> --json(MCP:orders.list, newest first) andproductmetrics orders get --company-id <company_id> --order-id <order_id> --storefront-scope-id <scope_id> --json(MCP:orders.get), which shows an order's margin and whether its customer was new or returning. - Talk to a store owner, not a developer: short sentences, what you did, what they need to do, what comes next. ROAS is a plain number (4.2); a target ROAS is a percentage (420%). Recommend increasing or lowering priority, never "raise or cut bids".
- The long form of these rules: https://www.productmetrics.io/docs/cli/for-agents.
Workflow
- Read where setup stands with
productmetrics setup get-status --json(MCP:setup.get_status), and skip every step that is done. - Connect the store and ChatGPT Ads if either is missing:
references/connect-cloudflare.mdandreferences/connect-chatgpt-ads.md. - Follow
references/server-side-tracking.mdstep by step and confirm each You should see line before you move on: later steps depend on earlier ones (the consent banner decides what is sent for each order, and checks only pass once a test order has arrived). - Report back what is live now, what the person still has to do (with the exact labels from the reference), and how to check it again later.
References
| Read | When | Docs page |
|---|---|---|
references/server-side-tracking.md |
Server-side tracking: prerequisites, the steps, how it works on any website on Cloudflare, troubleshooting and FAQ | https://www.productmetrics.io/docs/tracking/server-side/cloudflare-openai |
references/connect-cloudflare.md |
The website isn't connected yet, or its connection is broken | https://www.productmetrics.io/docs/platforms/cloudflare |
references/connect-chatgpt-ads.md |
ChatGPT Ads isn't connected yet, or you need the full list of what Product Metrics sends to it | https://www.productmetrics.io/docs/channels/openai |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/connect-chatgpt-ads.md
- references/connect-cloudflare.md
- references/server-side-tracking.md
- skill-report.json
FAQ
Что делает скилл set-up-cloudflare-chatgpt-ads-conversions-api?
ChatGPT Ads conversion tracking for any website on Cloudflare (Cloudflare Tracking, no store plugin) through the OpenAI Conversions API. Use this skill when a merchant with a website on Cloudflare advertising on ChatGPT wants their purchases tracked: connecting the OpenAI Conversions API or the ChatGPT Ads pixel. It sends every paid order to ChatGPT Ads from the server, with revenue, profit, new and returning customer and lifetime value events. It works through Product Metrics, so use it even when Product Metrics is never mentioned. Not for customer data matching or bidding: each has its own skill, as do other store platforms and ad channels.
Как установить скилл set-up-cloudflare-chatgpt-ads-conversions-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл set-up-cloudflare-chatgpt-ads-conversions-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…