Skip to content
Available skills

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.

Use it for

Taking a store from nothing to tracking active.

Works through

The CLI or the MCP execute tool; browser and store admin steps go to you.

You get

Workspace, store, Google Ads, Meta, conversion actions, consent and costs, then a checked first purchase.

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

StepCLIMCP (execute) operation
Sign-in and stateproductmetrics status, productmetrics onboarding get-state, productmetrics setup get-status, productmetrics whoamionboarding.get_state, setup.get_status, properties.list
Workspaceproductmetrics companies createcompanies.create
Google accessproductmetrics google get-connect-linkgoogle.get_connect_link
Google Ads accountproductmetrics google-ads list-accounts, productmetrics google-ads create-property-connectiongoogle_ads.list_accounts, google_ads.create_property_connection
Platform and subscriptionproductmetrics stores select-platform, productmetrics billing create-checkout-linkstores.select_platform, billing.create_checkout_link
Storeproductmetrics tracking get-commerce-configuration, productmetrics stores connect, productmetrics tracking create-website-installation, productmetrics tracking get-shopware6-statustracking.get_commerce_configuration, stores.connect, tracking.create_website_installation, tracking.get_shopware6_status
Store to propertyproductmetrics tracking get-configuration, productmetrics tracking assign-propertytracking.get_configuration, tracking.assign_property
Conversion actionsproductmetrics google-ads create-conversion-actions, productmetrics google-ads get-conversion-actionsgoogle_ads.create_conversion_actions, google_ads.get_conversion_actions
Enhanced conversionsproductmetrics tracking get-enhanced-conversionstracking.get_enhanced_conversions
Metaproductmetrics destinations set-meta, productmetrics destinations test-meta, productmetrics destinations list-metadestinations.set_meta, destinations.test_meta, destinations.list_meta
First purchaseproductmetrics tracking get-last-purchase, productmetrics orders listtracking.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-tracking

Where next