Magento server-side tracking for Google Ads: agent skill
The set-up-magento-google-ads-conversion-tracking agent skill: send every purchase from your Magento store view to Google Ads from the server, with the script served from your own domain.
set-up-magento-google-ads-conversion-tracking sets up server-side tracking for Magento in Google Ads with Product Metrics. Send every purchase from your Magento store view to Google Ads from the server, with the script served from your own domain. It follows the guide Magento server-side tracking for Google Ads.
The skill
Read the full file on GitHub (with its references) or at /.well-known/agent-skills/set-up-magento-google-ads-conversion-tracking/SKILL.md, or install it with:
pnpm dlx skills add product-metrics/skills \
--skill set-up-magento-google-ads-conversion-trackingIn Claude Code, the product-metrics-magento plugin adds it with the MCP server: /plugin install product-metrics-magento --marketplace product-metrics/skills.
When an agent uses it
- “Set up server-side Google Ads conversion tracking for my Magento store.”
- “Google Ads is missing purchases since iOS and ad blockers. Can we fix that?”
- “Send every paid order to Google Ads with its profit.”
What it does
- Reads where your setup stands and skips every step that is already done.
- Connects your Magento store and Google Ads if they aren’t connected yet.
- Turns on server-side tracking step by step: consent banner, test event and test order.
- 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. 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, 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 | Magento server-side tracking for Google Ads |
references/connect-magento.md | Magento server-side tracking and profit bidding (POAS) |
references/connect-google-ads.md | Google Ads server-side conversion tracking |
references/working-with-product-metrics.md | CLI for agents |
Related skills
set-up-magento-google-ads-enhanced-conversions: Enhanced Conversions for Magento in Google Adsset-up-magento-google-ads-customer-match: Customer Match lists for Magento in Google Adsset-up-magento-google-ads-new-customer-bidding: New customer bidding for Magento in Google Adsset-up-magento-google-ads-returning-customer-bidding: Returning customer bidding for Magento in Google Adsset-up-magento-google-ads-poas-bidding: POAS and ROAS bidding for Magento in Google Adsset-up-magento-google-ads-ltv-bidding: LTV bidding for Magento in Google Adsset-up-magento-meta-conversions-api: Server-side tracking for Magento in Metaset-up-magento-chatgpt-ads-conversions-api: Server-side tracking for Magento in ChatGPT Adscheck-tracking: check every part of tracking and find a test orderproduct-metrics: picks the right skill for any store and channel- All skills by platform and channel