Skip to content
Connect your store

Shopify server-side tracking and profit bidding (POAS)

Connect your Shopify store, get server-side conversion tracking live in Google Ads, Meta and ChatGPT Ads, and bid on profit, new customers or lifetime value.

Shopify tells Product Metrics about every paid order, with its product costs and customer. Product Metrics adds profit, new or returning customer and lifetime value, and sends it server-side to each ad channel you connect. No code and no Google tag: the app’s script runs through Shopify’s app proxy on your own store domain.

Install

The Shopify app and its app embed. No code.

Product cost

From Shopify. You add shipping, handling, returns and payment fees.

Consent banner

Shopify Customer Privacy, or a supported banner.

Prerequisites

  • A Shopify login that can install apps and edit the theme.
  • A workspace. You can also create one while linking the store.
  • A Shopify subscription for the app: it checks your setup without one, but collects nothing until it starts. Shopify stores don’t need Product Metrics Pro billing; you pay through Shopify.

In the app

1. Install the Shopify app

In Product Metrics, go to Ecommerce platforms → Connect Shopify → Open Shopify App Store. In Shopify, select Install and approve the permissions Shopify lists (orders, products, customers, themes, and a checkout pixel).

Open Ecommerce platforms

Go to Integrations → Ecommerce platforms and select Connect on Shopify.

Start the setup

The Shopify page lists three steps: connect your store, verify the app and link a property. Select Connect Shopify.

The Shopify page under Integrations → Ecommerce platforms: 0 of 3 steps done, step 1 Connect your store with the Connect Shopify button, then Verify the app and Link a property, and a Setup guide button.

Install the app from Shopify

Select Open Shopify App Store and install Product Metrics. In Shopify, select Install and approve the permissions it lists (orders, products, customers, themes, and a checkout pixel).

The Connect Shopify dialog: install Product Metrics from Shopify, then link the store to your existing Product Metrics account. Shopify owns installation and store authorisation; after installing the app, you sign in to Product Metrics to select the company and tracking-ready property. Cancel and Open Shopify App Store buttons.

Sign in to link the store

In the Product Metrics app in Shopify, select Connect Product Metrics account and sign in, or create an account if you are new.

The Product Metrics sign-in page, opened from Shopify to link the store.

Choose workspace and accounts

Pick the workspace and the Google Ads accounts this store belongs to, or create a new workspace, then select Link Shopify store. The app then asks you to save its app embed: select Open theme editor, turn on Product Metrics under App embeds and select Save.

The link step: the workspace and the Google Ads accounts this Shopify store belongs to, an option to create a new workspace, and the Link Shopify store button.
Example data.

Follow the setup guide

Select Setup guide on the Shopify page for every step, with screenshots.

The Shopify setup guide panel in Product Metrics, with every setup step and its screenshots.

You should see: the Product Metrics app open in Shopify Admin.

In the app, select Connect Product Metrics account, sign in, choose the workspace and accounts this store belongs to, and select Link Shopify store.

You should see: One step left: save the app embed.

3. Save the app embed

Select Open theme editor, turn on Product Metrics under App embeds, and select Save. The checkout pixel connects on its own.

4. Start the subscription

Select Create subscription and approve the charge in Shopify: one subscription with a spending cap you approve, and you pay only for what you use.

You should see: You’re set up with three ticks: Shopify permissions, App embed and Checkout pixel.

The Product Metrics app home in Shopify admin for Example Store: a You're set up banner, ticks for Shopify permissions, App embed and Checkout pixel, and the Open dashboard, Test your storefront and Run a tracking test buttons.The Product Metrics app home in Shopify admin for Example Store: a You're set up banner, ticks for Shopify permissions, App embed and Checkout pixel, and the Open dashboard, Test your storefront and Run a tracking test buttons.
The Product Metrics app in Shopify once setup is done.

5. Finish tracking setup

The rest is the same on every platform: the setup checklist in Tracking → Complete your tracking setup opens each step in turn:

Step by step in Tracking:

Open Tracking

Go to Integrations → Tracking. The checklist shows six steps: start by connecting your store, or use Cloudflare Tracking if you have no store platform.

Tracking in Product Metrics with the Complete your tracking setup checklist of six steps, starting with Connect your store.

Follow the next step

Once your store is connected and linked, the checklist opens the next open step. Each step says what it does.

The Complete your tracking setup checklist in Tracking: 3 of 6 essential steps completed, with Connect your store, Link the store to this property and Install storefront tracking ticked, and Configure consent open as step 4 with the consent platform still Not configured.

Configure consent

Under Configure consent, pick the cookie consent platform your storefront uses. The storefront script collects nothing until the visitor agrees.

The Configure consent step in the tracking checklist, with the list of consent platforms to choose from.

Create Google Ads conversions

Under Create Google Ads conversions, select Create 8 conversion actions. Product Metrics manages one Google Ads conversion action per purpose; they start as secondary goals, and you choose the primary goal in Google Ads.

The Conversion actions page in Product Metrics, opened from Tracking: Not configured, 0 of 8 managed and the Create 8 conversion actions button. Below it, Customer types (New customer revenue and profit, Returning customer revenue and profit) and Order value (Order revenue, Order profit), each Missing with Google goal status Unknown, and the Lifetime value group.

Add your additional costs

Product costs come from your store where it reports them. Under Add your additional costs, add shipping, handling, returns and payment fees, set Product cost fallback (%) and select Activate additional costs, so the profit conversions carry real profit.

The Add your additional costs step in Tracking, prefilled for your country: shipping, handling, returns and payment fee fields, a Product cost fallback (%) field and the Activate additional costs button.

You should see: the badge next to Tracking read Tracking active.

6. Check it works

In Shopify, the app says Tracking is live on your store once it sees storefront activity. Then select Tracking → Run tracking test in the app. In Product Metrics, check Tracking too:

Check storefront collection

Storefront & data collection shows how tracking runs on your site and which consent and profit settings apply.

The WooCommerce installation panel from Storefront & data collection in Tracking: Active, northwind-outfitters.example collecting visits, carts and checkouts on this domain, and storefront tracking managed by the WooCommerce plugin, with no Cloudflare setup or manual script tag required. An Advanced collection settings button.
Example data.

Review the Google Ads destination

The Google Ads panel shows the connection, the conversion actions, profit tracking and the enhanced conversions terms.

Check that tracking is live

When every step is done, the badge next to Tracking reads Tracking active, and Tracking shows how many conversion actions receive orders.

You should see: Passing, Needs attention or Listening per check. More in Check tracking.

Set it up with AI

Connect your assistant

First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.

In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:

https://www.productmetrics.io/mcp

Claude Code: run this in your terminal.

claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp

CodexAll clients and details →

Paste the prompt into your assistant.

Connect my Shopify store to Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something in Shopify.
Connect my Shopify store to Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something in Shopify.
Connect my Shopify store to Product Metrics and walk me through each open setup step, giving me the link when I need to click something in Shopify. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).
Connect my Shopify store to Product Metrics and walk me through each open setup step, giving me the link when I need to click something in Shopify. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).

How it works on Shopify

On Shopify
InstallShopify App Store app plus the app embed in your theme; the checkout pixel connects on its own
Order sentWhen Shopify marks it paid
Product costFrom Shopify; you add shipping, handling, returns and payment fees
ConsentShopify Customer Privacy, or OneTrust, Cookiebot, Usercentrics or Osano
Refunds and cancellationsShopify reports them; Product Metrics adjusts the conversion it sent
BillingOne Shopify subscription with a spending cap. Uninstalling the app cancels it and stops tracking

What you get on Shopify

Each feature, its channels and the Shopify guide for each:

Troubleshooting

MessageFix
“One step left: save the app embed”The app embed is off, or the theme wasn’t saved. Select Open theme editor, turn on Product Metrics under App embeds, select Save, then Check settings in the app.
“A few permissions are missing” or “New version ready”Select Upgrade now and approve the permissions Shopify lists.
“Shopify denied access to the checkout pixel”Shown under Checkout tracking needs attention. Check the app’s permissions, then select Check setup again.
“We couldn’t reach Product Metrics tracking”Wait a moment, then select Check setup again.
“Product Metrics doesn’t recognise this store’s link”Link the store again, then select Check setup again.
“Contact Product Metrics support”Select Contact support.
“This store needs support to finish connecting”The store is linked to another Product Metrics workspace. Nothing is billed or overwritten. Choose that workspace when you link, disconnect it there first, or select Contact support.
Fewer conversions than Shopify ordersOrders are sent when Shopify marks them paid. Check that consent names the banner your store shows: customer data goes only with ad user data, and the click only with ad storage too.

FAQ

Do I need a developer to set it up on Shopify?

No. You install the app from the Shopify App Store, turn on the app embed in your theme editor and start the subscription; the checkout pixel connects on its own. No code and no Google tag.

How is Product Metrics billed on Shopify?

Through one Shopify subscription with a spending cap you approve, and you pay only for what you use. You don’t need a separate Pro subscription. Uninstalling the app cancels it and stops tracking.

Yes, with Shopify Customer Privacy, OneTrust, Cookiebot, Usercentrics or Osano. Choose the one your store shows in Configure consent; customer data is sent only with ad user data consent.

Where do product costs come from on Shopify?

From Shopify itself. You add shipping, handling, returns and payment fees once as additional costs in Tracking, and profit includes them.

Where next

On the website: Product Metrics for Shopify, Full Signal Tracking, Product Segmentation, pricing

Developers: do the same with the CLI or the API.