Skip to content
Meta

Magento server-side tracking with the Meta Conversions API: agent skill

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

set-up-magento-meta-conversions-api sets up server-side tracking for Magento in Meta with Product Metrics. Send every purchase from your Magento store view 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 Magento server-side tracking with the Meta Conversions API.

The skill

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

pnpm dlx skills add https://www.productmetrics.io/docs \
  --skill set-up-magento-meta-conversions-api

When an agent uses it

  • “Set up the Meta Conversions API for my Magento store.”
  • “Meta reports far fewer purchases than we really have.”
  • “Send Magento 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 Magento store 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 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.mdMagento server-side tracking with the Meta Conversions API
references/connect-magento.mdMagento server-side tracking and profit bidding (POAS)
references/connect-meta.mdMeta Conversions API and Advanced Matching
references/working-with-product-metrics.mdCLI for agents