---
title: Shopify integration
slug: shopify-integration
description: What connecting Shopify enables in Personizely: customers, orders and attribution, carts, markets, discounts, products, theme and template tests.
docTags: 
createdAt: 2026-10-17T10:01:05.752Z
---

The Shopify integration is the connection between Personizely and your Shopify store, made when you install the Personizely app. Besides loading the snippet on your storefront, it gives Personizely access to your customers, orders, carts, markets, discounts, products and themes. That access is what powers server-side revenue attribution, price, theme, template and shipping tests, cart and customer targeting, product widgets and Shopify automations.

**Available on:** Shopify Online Store themes. For headless storefronts, see [Install Personizely on Shopify Hydrogen](docId:_zNTHPizNHrgdObe0mul5).

To install the app and turn on the app embed, see [Install Personizely on Shopify](docId\:KKBkXcEXtFXCVJdjXvQ74). This page explains what the connection enables once it's in place.

## What connecting Shopify enables

| Area                                               | What you get                                                                                                      |
| -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [Customers](docId\:JBefiJ11A3-hVgUzmmdmd)          | Logged-in customers identified automatically; Customer and Order history filters; the **Add customer** automation |
| [Orders](docId\:JBefiJ11A3-hVgUzmmdmd)             | Server-side purchase tracking and attribution, profit, order tagging, purchase goals by product or order tag      |
| [Carts and checkout](docId\:JBefiJ11A3-hVgUzmmdmd) | Add to cart and checkout start events, cart filters and triggers, cart attributes, discount auto-apply            |
| [Markets](docId\:JBefiJ11A3-hVgUzmmdmd)            | The Market filter                                                                                                 |
| [Discounts](docId\:JBefiJ11A3-hVgUzmmdmd)          | Unique codes generated from your Shopify discounts, applied to the cart                                           |
| [Products](docId\:JBefiJ11A3-hVgUzmmdmd)           | Product pickers, the Products element, product page and tag rules, price tests                                    |
| [Theme](docId\:JBefiJ11A3-hVgUzmmdmd)              | Theme and template tests, app blocks for embedded widgets                                                         |
| [Shipping](docId\:JBefiJ11A3-hVgUzmmdmd)           | Shipping rate tests                                                                                               |

## Customers

- **Automatic identification.** When a customer is logged in to their account, Personizely identifies the visitor as that customer once per session and copies their email, name and phone into the profile. Customers who check out are identified too. See [Identifying visitors](docId\:Q2m71k4qe54obA5WmAvBT).
- **[Customer filter (Shopify)](docId\:ytjG6yjMEqRctiOZie7Ow):** target logged-in customers, guests, or customers with certain tags, such as `VIP` or `wholesale`.
- **[Order history filter](docId\:bV0w3-JjkCkmH-za_dK3g):** target by number of orders, total spent, products bought or order tags.
- **Add customer** automation: create or update the visitor as a Shopify customer from a widget form, with tags, email and SMS marketing consent and birthdate. See [Shopify widget automations](docId:3GMQtF7LQhvuAOBPhgFaR).

## Orders and attribution

Personizely receives your orders from Shopify and matches them to visitors server-side, so purchases are attributed without a thank-you page script. With the connection you get:

- The system **Purchase** goal, plus Purchase goals filtered by products or order tags. See [Goals](docId\:XSkE1LjM1yiNhLBzpr1B1).
- **Attribute orders** when they're paid (default) or created, for cash on delivery.
- **Profit analytics** from Shopify's cost per item, optionally including shipping.
- **Order tagging** with the campaigns and variations each order was credited to.
- Built-in tracking for GoKwik, ShipRocket and Shopflo checkouts. See [Custom checkouts: GoKwik, ShipRocket, Shopflo](docId\:X4-4KmLJTdX84oVkwOtfJ).

How it all works is on [Shopify order tracking and profit](docId\:hS2Gsx3K3YcJ2NRssNAmX) and [Revenue attribution](docId\:jpQKiTTVFyptseo8UEQOD).

## Carts and checkout

- **Add to cart and Checkout start events** come from Personizely's web pixel, installed with the app, and can be used as [Goals](docId\:XSkE1LjM1yiNhLBzpr1B1), with product filters.
- **Cart filters:** [Cart value filter](docId\:M5UXU-yZyhbPfzZs-_wzn), [Cart size filter](docId\:mehX8MapSOt6H1JFPc5sL) and [Cart items filter](docId\:MPvhK6atwDto5BEUURrDr).
- **Triggers:** [Add to cart trigger](docId\:qdwUdzaAMzzhosIGxAo0F), with product and variant conditions, and [Proceeding to checkout trigger](docId\:koaltSSSSGNdWpOg3L20H). They work with standard theme forms, AJAX carts and cart drawers.
- **Cart widgets:** [Cart progress (free shipping bar)](docId:58OPYGqAeYmpHTup4IzHm) bars and cart-based product recommendations.
- **Set cart attribute** and **Add a product to the cart** automations. See [Shopify widget automations](docId:3GMQtF7LQhvuAOBPhgFaR).

## Markets

Personizely reads your Shopify Markets and the market each visitor's storefront is served in. Use the [Market filter (Shopify Markets)](docId\:Oz8__1Au4l_3Adg9hF1Kx) to run tests and widgets per market, so they agree with the currency, language and prices on the page.

## Discounts

- **Unique codes:** the [Coupon and discount codes](docId\:QXkBRk16fS8GFWjEqbW2q) and the **Apply discount** automation can generate a single code per visitor from one of your Shopify discounts, with your prefix. The codes are created in your Shopify admin under that discount.
- **Auto-apply:** codes can be applied to the visitor's cart, so they don't have to type them at checkout.
- Fixed codes such as `SUMMER10` work too; create them in Shopify first.

## Products

- **Product pickers** across the app read your catalogue, including collections and variants. Product changes and deletions in Shopify are picked up automatically.
- **[Products (cross-sell and upsell)](docId\:cmXGzOOKynsYjyXy79rUf):** cross-sells, upsells, recommendations and recently viewed products, with add to cart, buy now and replace buttons.
- **Rules:** show widgets on [Product pages rule](docId\:sIAZH3ZVXXxI1ZSilM0k6) or [Product pages with tags rule](docId\:H5R1C_uPGNz-on3uKpvJ6).
- **[Price testing (Shopify)](docId\:k09ScNP8hbEGghopBunro):** test product prices with a Shopify Function on Shopify Plus, or with hidden duplicate products on other plans.

## Theme and templates

- **[Theme testing (Shopify)](docId\:Xe-_Oqk65z22_p9JZV0LN):** show an unpublished theme to a share of visitors.
- **[Template testing (Shopify)](docId:9lUkx0Md8Jw22KSJuaSFR):** show an alternate Shopify template, such as a product or collection template, on your live theme. Your store's pages and blog posts are offered when you preview a template test.
- **App blocks:** **Embedded widget** and **Placeholder** blocks place [Embedded widgets and placeholders](docId\:jRubqMsuzAHPTOBPLwFSW) in any theme section.
- **Theme files:** small files that let the snippet read cart and product data are added to your live theme, and to any theme you publish later. They don't change how pages look. See [Install Personizely on Shopify](docId\:KKBkXcEXtFXCVJdjXvQ74#what-the-app-adds-to-your-store).

## Shipping

[Shipping rate testing (Shopify)](docId\:Al3S-vh-b2RViqzyQCLIt) let you test shipping rates and free-shipping thresholds. They need Shopify Plus, Plus Trial, Advanced or a development store, and ask for shipping permissions the first time you use them.

## Consent

Personizely follows the visitor's choice in Shopify's customer privacy settings, read on page load and whenever it changes. Widgets can also act as a consent banner with the **Change user consent** automation. See [Cookies and consent](docId:-HA6dgPmpYmb7x6UZQ_t2).

## Permissions requested later

Some features ask for extra Shopify permissions only when you turn them on. Personizely prompts you to approve them in Shopify:

| Feature          | Extra permission                                 |
| ---------------- | ------------------------------------------------ |
| Shipping tests   | Read and write shipping settings, read locations |
| Profit analytics | Read inventory (product cost)                    |
| Order tagging    | Edit orders                                      |

## Disconnecting

The Shopify connection can't be disconnected from **Settings → Integrations**. To disconnect, uninstall the Personizely app in Shopify. When the app is uninstalled:

- Order tracking stops and Personizely's webhooks are removed from your store.
- The theme files Personizely added are removed from your live theme.
- Price tests that use the Shopify Function stop applying prices, and active shipping tests are stopped.
- The app embed and web pixel are removed by Shopify with the app.

## Behavior details and limitations

- **Shopify plans matter for some features.** Price tests with a Shopify Function need Shopify Plus, Plus Trial or a development store; other plans use duplicate products. Shipping tests need Plus, Plus Trial, Advanced or a development store.
- **Order history from the storefront** covers the customer's paid orders that Shopify shows on the storefront. See [Order history filter](docId\:bV0w3-JjkCkmH-za_dK3g) for details.
- **Checkout is Shopify's.** Widgets and campaigns run on your storefront, not inside Shopify checkout. Checkout events and orders still count.
- **One store per website.** Each Personizely website connects to one Shopify store. For several stores, add a website per store.

## Related

- [Install Personizely on Shopify](docId\:KKBkXcEXtFXCVJdjXvQ74)
- [Shopify order tracking and profit](docId\:hS2Gsx3K3YcJ2NRssNAmX)
- [Shopify widget automations](docId:3GMQtF7LQhvuAOBPhgFaR)
- [Price testing (Shopify)](docId\:k09ScNP8hbEGghopBunro)
- [Theme testing (Shopify)](docId\:Xe-_Oqk65z22_p9JZV0LN)
- [Integrations](docId\:YweYsNdyWfChY1Z9KMneN)
