Shopify Integration
Connect your Shopify store to Tailor AI and tie completed checkouts, and their revenue, back to the experiment each shopper saw. No theme code required.
How It Works
Tailor's Shopify app connects your store to Tailor AI. It does two jobs: it loads the Tailor AI tracking script on your storefront, and it maps Shopify events like a completed checkout to your Tailor conversion goals. Because checkout happens on Shopify, not on the page you tailored, this links an order and its revenue back to the variant the shopper saw, so you can measure lift on revenue, not just add-to-cart clicks.
Start here
Ask your Tailor team for a Shopify install link. Each link is unique to one storefront, so request one for the exact store you want to track. Open it while signed in to that store's Shopify Admin and approve the app. Once installed, the app opens to a single Tailor AI settings page with two sections: Connect your store and Conversion tracking.
Create a Shopify Goal in Tailor
Start in the Tailor AI Chrome extension. Create a conversion goal and pick the Shopify (track checkouts and revenue) goal type. A Shopify goal is fired by this app when a mapped Shopify event happens, so there's no snippet to add to your site. The goal's setup panel gives you the two values you'll paste into the Shopify app:
Tailor Account ID
Your 22-character account ID, shown right in the goal's setup panel (click to copy). You'll paste it into Connect your store so the app loads Tailor AI on your storefront and attributes conversions to your account.
Goal ID
The goal's short key. You'll paste it into an event mapping in Conversion tracking to tell the app which goal a Shopify event should fire.
New to goals? See Conversion Goals & Tracking. (Click and page-impression goals can't be fired this way, use a Shopify goal.)
Connect Your Store
Now switch back to the Tailor app in your Shopify Admin. In its Connect your store section, paste the same Account ID from your goal's setup panel and click Connect. The app loads Tailor AI on every storefront page automatically, no theme editing. This is a one-time setup. Use Change or Disconnect in the same section to update it later.
Prefer to manage the script in your theme? The Advanced section has a theme app embed and a <head> snippet. Pick just one install path.
Track Conversions
In the Conversion tracking section, connect Shopify events to your Shopify goal. Click Add mapping:
- 1Pick the Shopify event. Choose the trigger, for example
checkout_completed. - 2Paste the Goal ID. Enter the short key from your Shopify goal in the Goal short key field, then toggle Include revenue / Include order ID. Save, and it syncs to your storefront automatically.
- 3Verify. Place a Shopify test order to fire
checkout_completed, then confirm the conversion shows against the goal in Tailor (counts can take a few minutes).
Supported Events
Map any of Shopify's standard customer events. Revenue is sent in the order's own currency, and the order ID is attached as metadata (use it to reconcile against Shopify and to dedupe). The revenue and order-ID toggles are only available for events that carry that data:
| Shopify event | Revenue | Order ID |
|---|---|---|
| page_viewed | No | No |
| collection_viewed | No | No |
| search_submitted | No | No |
| product_viewed | Yes | No |
| cart_viewed | Yes | No |
| product_added_to_cart | Yes | No |
| product_removed_from_cart | Yes | No |
| checkout_started | Yes | No |
| checkout_contact_info_submitted | Yes | No |
| checkout_address_info_submitted | Yes | No |
| checkout_shipping_info_submitted | Yes | No |
| payment_info_submitted | Yes | No |
| checkout_completed | Yes | Yes |
For revenue results, map checkout_completed to your Shopify goal with both toggles on. It's the only event that carries a completed order ID. See Shopify's checkout_completed reference.
Notes & Limits
- The tracking script must be loaded. Conversions tie to the variant a shopper saw via Tailor's script. If you haven't connected your store (or installed the script in your theme), conversions may not attribute to an experiment. If nothing shows up, that's the first thing to check, along with the Goal ID matching the goal exactly. See Troubleshooting.
- Dedupe on order ID. Shopify can fire
checkout_completedagain if a shopper reloads the thank-you page. Include the order ID and dedupe on it in downstream reporting if exact counts matter. - What's sent. The event name, order total and currency (when enabled), order ID (when enabled), and the visitor's Tailor session identifier (set by the tracking script). No shopper PII is collected by the app. Standard events only.
