Skip to main contentTailor AI LogoTailor AI

    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. This links an order and its revenue back to the variant the shopper saw, so you can measure lift on revenue, not just clicks.

    Step 1: Install the Tailor App on Shopify

    Ask the 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. Your storefront's address looks like shop1.myshopify.com or admin.shopify.com/store/shop1, share whichever form you see so the Tailor team links the right store.

    Open the link 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.

    Step 2: Create a Shopify Goal in Tailor

    Start in the Tailor AI Chrome extension. Open the test you want to track, go to its Ramp & Test tab, and click Conversion to open the goals panel. Then click Create Goal.

    The Ramp & Test tab with the Conversion button highlighted
    In Ramp & Test, click Conversion.
    The Conversion Goals panel with the Create Goal button
    Click Create Goal.

    In the goal panel that opens, set it up like this:

    1. Name the goal.
    2. Under What counts as a conversion?, choose Shopify (track checkouts and revenue).
    3. To capture order value, keep This goal tracks revenue checked and pick your currency. Leave it unchecked for events that have no revenue, like a page view.
    4. Open Shopify setup to reveal the two values you'll copy into the Shopify app.
    The Shopify goal type selected, This goal tracks revenue checked, and the Tailor Account ID and Goal ID under Shopify setup
    The Shopify goal type, the revenue checkbox, and the two values under Shopify setup.

    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.

    Step 3: 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.

    The Tailor AI app in Shopify Admin showing the Connect your store section with the Account ID field, above the Conversion tracking mappings
    The Tailor AI app in Shopify Admin. Paste your Account ID under Connect your store.

    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.

    Step 4: Track Conversions

    In the Conversion tracking section, connect Shopify events to your Shopify goal. Click Add mapping:

    1. 1Pick the Shopify event. Choose the trigger, for example Checkout completed.
    2. 2Paste the Goal ID. Enter the short key from your Shopify goal in the Goal short key field. If the event carries an order total, the mapping sends revenue automatically, you'll see a Sends revenue badge, no toggle to set. Save, and it syncs to your storefront automatically.
    3. 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).
    The event mapping editor with the Trigger set to Checkout completed showing a Sends revenue badge, and the Tailor AI conversion goal Goal ID field
    An event mapping: the Shopify trigger (with its Sends revenue badge) connected to your goal's Goal ID.

    Supported Events

    Map any of Shopify's standard customer events. The Revenue column below shows which ones carry an order total. If you're mapping a revenue event, check This goal tracks revenue on your Tailor goal. The event mapping sends revenue automatically when the event carries an order total, shown by a Sends revenue badge, there's nothing to toggle. Revenue is sent in the order's own currency. For events without revenue (like page views), leave This goal tracks revenue unchecked. The goal just counts conversions.

    Shopify eventRevenue
    Page viewedNo
    Collection viewedNo
    Search submittedNo
    Product viewedYes
    Cart viewedYes
    Product added to cartYes
    Product removed from cartYes
    Checkout startedYes
    Checkout contact info submittedYes
    Checkout address info submittedYes
    Checkout shipping info submittedYes
    Payment info submittedYes
    Checkout completedYes

    For revenue results, map Checkout completed to your Shopify goal and keep This goal tracks revenue checked on the goal. It carries the order total, so the mapping sends revenue automatically. It's the event Shopify reports when an order is placed. See Shopify's checkout_completed reference.

    Related Guides