Skip to content
Meta

Shopify Meta Conversions API Advanced Matching: agent skill

The set-up-shopify-meta-advanced-matching agent skill: send hashed customer information from Shopify orders with every Meta Conversions API event (Advanced Matching), only when the visitor allowed ad user data.

set-up-shopify-meta-advanced-matching sets up Advanced Matching for Shopify in Meta with Product Metrics. Send hashed customer information from Shopify orders with every Meta Conversions API event (Advanced Matching), only when the visitor allowed ad user data. It follows the guide Shopify Meta Conversions API Advanced Matching.

The skill

Read the full file at /.well-known/agent-skills/set-up-shopify-meta-advanced-matching/SKILL.md, or install it with:

pnpm dlx skills add https://www.productmetrics.io/docs \
  --skill set-up-shopify-meta-advanced-matching

When an agent uses it

  • “Our Meta event match quality is stuck around 5.”
  • “Set up Advanced Matching for my Shopify store.”
  • “Which customer fields go to Meta with each purchase?”

What it does

  1. Reads where your setup stands and skips every step that is already done.
  2. Checks that server-side tracking to Meta is live first.
  3. Sets the consent banner, because customer data is only sent with the visitor’s consent.
  4. Sends a test event and checks an order carries the hashed customer fields.

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/advanced-matching.mdShopify Meta Conversions API Advanced Matching
references/connect-shopify.mdShopify server-side tracking and profit bidding (POAS)
references/connect-meta.mdMeta Conversions API and Advanced Matching
references/working-with-product-metrics.mdCLI for agents