> ## Documentation Index
> Fetch the complete documentation index at: https://www.productmetrics.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://www.productmetrics.io/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://www.productmetrics.io/docs/api/mcp.
> Every agent surface: https://www.productmetrics.io/docs/.well-known/llms-manifest.json

# Server-side tracking with the Meta Conversions API on any website with Cloudflare: agent skill (/docs/agent-skills/set-up-cloudflare-meta-conversions-api)

<!-- agent-signals: reading_time_min: 3 · est_tokens: 1204 · updated: 2026-11-17 -->
Related: [Product Metrics agent skills](/docs/agent-skills/overview.md), [Install Product Metrics skills](/docs/agent-skills/install.md), [Skills for every store platform and ad channel](/docs/agent-skills/platform-skills.md), [product-metrics: the agent skill that picks the right Product Metrics skill](/docs/agent-skills/product-metrics.md), [set-up-tracking skill](/docs/agent-skills/set-up-tracking.md), [connect-google-ads skill](/docs/agent-skills/connect-google-ads.md)

> The set-up-cloudflare-meta-conversions-api agent skill: send every purchase from your website to Meta from the server through the Meta Conversions API, with Advanced Matching and the script served from your own domain.

**`set-up-cloudflare-meta-conversions-api` sets up server-side tracking for any website on Cloudflare in Meta with Product Metrics.** Send every purchase from your website to Meta from the server through the Meta Conversions API, with Advanced Matching and the script served from your own domain. It follows the guide [Server-side tracking with the Meta Conversions API on any website with Cloudflare](/docs/tracking/server-side/cloudflare-meta).

## The skill

Read the full file [on GitHub](https://github.com/product-metrics/skills/tree/main/plugins/product-metrics/skills/set-up-cloudflare-meta-conversions-api) (with its references) or at [`/.well-known/agent-skills/set-up-cloudflare-meta-conversions-api/SKILL.md`](https://www.productmetrics.io/docs/.well-known/agent-skills/set-up-cloudflare-meta-conversions-api/SKILL.md), or install it with:



```bash
npx skills add product-metrics/skills \
  --skill set-up-cloudflare-meta-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 the Meta Conversions API for my website."
* "Meta reports far fewer purchases than we really have."
* "Send website purchases to Meta from the server."

## What it does

1. Reads where your setup stands and skips every step that is already done.
2. Connects your website and Meta 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](/docs/cli/overview) or the [MCP server](/docs/mcp/overview). 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](/docs/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:

| Reference                            | Built from                                                                                                                 |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| `references/server-side-tracking.md` | [Server-side tracking with the Meta Conversions API on any website with Cloudflare](/docs/tracking/server-side/cloudflare-meta) |
| `references/connect-cloudflare.md`   | [Server-side tracking and profit bidding on any website (Cloudflare)](/docs/platforms/cloudflare)                               |
| `references/connect-meta.md`         | [Meta Conversions API and Advanced Matching](/docs/channels/meta)                                                               |

## Related skills

* [`set-up-cloudflare-meta-advanced-matching`](/docs/agent-skills/set-up-cloudflare-meta-advanced-matching): Advanced Matching for any website on Cloudflare in Meta
* [`set-up-cloudflare-meta-new-customer-bidding`](/docs/agent-skills/set-up-cloudflare-meta-new-customer-bidding): New customer bidding for any website on Cloudflare in Meta
* [`set-up-cloudflare-meta-returning-customer-bidding`](/docs/agent-skills/set-up-cloudflare-meta-returning-customer-bidding): Returning customer bidding for any website on Cloudflare in Meta
* [`set-up-cloudflare-meta-poas-bidding`](/docs/agent-skills/set-up-cloudflare-meta-poas-bidding): POAS and ROAS bidding for any website on Cloudflare in Meta
* [`set-up-cloudflare-meta-ltv-bidding`](/docs/agent-skills/set-up-cloudflare-meta-ltv-bidding): LTV bidding for any website on Cloudflare in Meta
* [`set-up-cloudflare-google-ads-conversion-tracking`](/docs/agent-skills/set-up-cloudflare-google-ads-conversion-tracking): Server-side tracking for any website on Cloudflare in Google Ads
* [`set-up-cloudflare-chatgpt-ads-conversions-api`](/docs/agent-skills/set-up-cloudflare-chatgpt-ads-conversions-api): Server-side tracking for any website on Cloudflare in ChatGPT Ads
* [`check-tracking`](/docs/agent-skills/check-tracking): check every part of tracking and find a test order
* [`product-metrics`](/docs/agent-skills/product-metrics): picks the right skill for any store and channel
* [All skills by platform and channel](/docs/agent-skills/platform-skills)
