set-up-tracking skill
The skill an agent uses to take a store from nothing to tracking active with the productmetrics CLI or the MCP server.
set-up-tracking walks an agent through the whole Product Metrics setup: sign in, workspace, store, Google Ads, Meta, conversion actions, consent, costs and the first purchase. The agent runs the steps that have an API and hands you the ones that need your browser or your store admin.
When an agent uses it
- “Set up Product Metrics for my store.”
- “Connect my WooCommerce shop and start sending profit to Google Ads.”
- “What’s left to set up?”
Example conversation
You: Set up Product Metrics for my Shopify store, shop.example.com.
Agent: You're signed in but have no workspace yet. I've created
"Example Shop".
Open this link and approve Google Ads and Merchant Center:
https://app.productmetrics.io/connect/google?scope=ads
You: Done.
Agent: Which account runs your campaigns?
123-456-7890 "Example Shop" or 987-654-3210 "Old shop"?
You: The first.
Agent: Connected. Now open this link and approve the Product Metrics
app in Shopify, then turn on the Product Metrics app embed in
your theme editor and select Save.
...
Left for you in Tracking: Configure consent (Shopify Customer
Privacy) and Add your additional costs. Then place a test order
and I'll check it arrived.Commands and tools it uses
| Step | CLI | MCP (execute) operation |
|---|---|---|
| Sign-in and state | productmetrics status, productmetrics onboarding get-state, productmetrics setup get-status, productmetrics whoami | onboarding.get_state, setup.get_status, properties.list |
| Workspace | productmetrics companies create | companies.create |
| Google access | productmetrics google get-connect-link | google.get_connect_link |
| Google Ads account | productmetrics google-ads list-accounts, productmetrics google-ads create-property-connection | google_ads.list_accounts, google_ads.create_property_connection |
| Store | productmetrics tracking get-commerce-configuration, productmetrics stores connect, productmetrics tracking create-website-installation, productmetrics tracking get-shopware6-status | tracking.get_commerce_configuration, stores.connect, tracking.create_website_installation, tracking.get_shopware6_status |
| Store to property | productmetrics tracking get-configuration, productmetrics tracking assign-property | tracking.get_configuration, tracking.assign_property |
| Conversion actions | productmetrics google-ads create-conversion-actions, productmetrics google-ads get-conversion-actions | google_ads.create_conversion_actions, google_ads.get_conversion_actions |
| Enhanced conversions | productmetrics tracking get-enhanced-conversions | tracking.get_enhanced_conversions |
| Meta | productmetrics destinations set-meta, productmetrics destinations test-meta, productmetrics destinations list-meta | destinations.set_meta, destinations.test_meta, destinations.list_meta |
| First purchase | productmetrics tracking get-last-purchase, productmetrics orders list | tracking.get_last_purchase, orders.list |
Through MCP the agent finds each operation with search and calls it with codemode.request in execute.
App steps, no API: Magento (a developer installs the module), the Cloudflare sign-in for Lightspeed and Cloudflare Tracking, Configure consent and Add your additional costs. The skill gives you the exact labels.
The agent asks you for a Lightspeed API key and secret, or a Meta Conversions API access token, only because the API needs your own credential. It passes them on and never repeats them. Setup tokens for WooCommerce and Shopware are shown to you only.
The skill
Read the full file at /.well-known/agent-skills/set-up-tracking/SKILL.md, or install it with:
npx skills add https://www.productmetrics.io/docs \
--skill set-up-trackingWhere next
- Quickstart: the same steps for a person
- check-tracking skill
- connect-google-ads skill
- CLI for agents