Shopify
The mettr app for Shopify sends a store's live traffic, products viewed, carts and checkouts, and every paid order and refund, with no code and no access to customers.
The app adds a web pixel to the store and reads its orders and refunds from Shopify's webhooks. Nothing to paste into the theme. The source of the pixel is on GitHub, MIT licensed.
Install
- Install mettr from the Shopify App Store and open it in the store's admin.
- Choose Connect to mettr. Sign in to mettr (or make an account), then pick the team and the site the store sends to, or make a new site for it.
- Open the app once more in the store's admin: it starts the store's pixel with the site's public key.
The store's myshopify domain and its primary domain are added to the site's domains, so the pixel may send from them. Send to another site in the app links the store to another of your sites.
What it sends
From the web pixel, for each of Shopify's standard customer events, with the visitor's consent to analytics where the store asks for it:
pageview, for every page viewed;product_viewed,collection_viewed,cart_viewed, with the product's or the collection's title;add_to_cartandremove_from_cart, with the product's title and the quantity;search_submitted, never the words searched;checkout_startedandcheckout_completed.
Nothing of the customer: no name, email, address or order details from the browser.
From Shopify's webhooks, which a visitor cannot fake:
- every paid order as revenue, its subtotal after discounts, before tax and shipping;
- every refund as revenue below zero.
Each is written once, however often Shopify sends it. Revenue shows on the revenue panels and joins the visit's source like any other.
What the app may read
It asks Shopify for orders (amounts only: its webhooks ask for no customer field), to make its pixel, and to read customer events. It keeps no access token: each time the app opens in the admin, it gets a short-lived one, uses it and drops it.
Plans
The plan is billed by Shopify, on the store's Shopify invoice: Free, or Pro or Business at their first step of 100k events a month, as on the pricing page. Choose it under Choose a plan in the app; for more events, pick the plan on the team's billing page in mettr instead. The plan is the team's, beside any plan paid through mettr: the team gets the higher of the two, and its billing page names the store that pays.
Uninstalling
Uninstalling the app ends its plan and its pixel. What the store sent stays on the site until you delete it; 48 hours later Shopify asks mettr to forget the store, and its link to the site is deleted.
Updated · This page as Markdown · Something unclear? [email protected]