> ## Documentation Index
> Fetch the complete documentation index at: https://help.retainful.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Shopify

> Install Retainful on your Shopify store, enable storefront tracking, and verify everything is syncing.

Connecting Shopify takes a few minutes. Once connected, Retainful automatically syncs your customers, products, and orders, tracks carts and checkouts, and can create discount codes in your store.

## What the connection enables

* **Customer and order sync** — your Shopify customers appear as contacts, and every order is recorded for segmentation and revenue attribution.
* **Cart and checkout tracking** — Retainful sees when a checkout starts and whether it completes, which powers abandoned cart recovery.
* **Product sync** — your catalog is available inside the email editor for product blocks and recommendations.
* **Discount codes** — automations can generate single-use Shopify discount codes on the fly.
* **Storefront tracking pixel** — records product views and captures email consent at checkout.

## Install the app

<Steps>
  <Step title="Start the connection">
    In Retainful, go to **Integrations → Shopify**, enter your store address (for example `mystore.myshopify.com`), and click **Connect**. You can also install directly from the Shopify App Store.
  </Step>

  <Step title="Approve permissions">
    Shopify shows the permissions Retainful needs — reading and writing customers, orders, checkouts, products, and discounts. Click **Install** to approve.
  </Step>

  <Step title="Wait for the first sync">
    Retainful begins importing your customers, products, and order history right away. Large stores may take a while; you can keep working in the meantime.
  </Step>
</Steps>

<Check>
  The Integrations page shows **Connected** with your store name, and contacts start appearing under **Audience → Contacts**.
</Check>

## Enable storefront tracking

Two optional components run on your storefront and are worth enabling:

### Web pixel

The web pixel records which products each visitor views and captures the email address and marketing consent shoppers enter at checkout. It powers browse-abandonment style targeting and improves cart recovery matching.

Go to **Integrations → Shopify** and turn on the **Web Pixel**. Retainful registers it with Shopify automatically — no theme editing required.

### Theme app extension

The theme app extension lets Retainful show [signup forms and popups](/forms/overview) on your storefront.

1. In Retainful, go to **Integrations → Shopify** and click **Enable** next to Theme App Extension.
2. If prompted, you'll be taken to your Shopify theme editor to flip the app embed on.

<Tip>
  If a popup isn't showing on your store, Retainful's popup requirements check will tell you exactly what's missing — usually the theme app embed being disabled or the app needing re-authorization.
</Tip>

## Re-sync your store

If your data ever looks out of date, you can trigger a full re-import: go to **Integrations → Shopify** and click **Re-import**. This refreshes products, customers, and orders without affecting your automations.

## Disconnecting

To disconnect, go to **Integrations → Shopify → Disconnect**, or uninstall the app from your Shopify admin. Either way, tracking stops immediately. Your existing contacts and history remain in Retainful.

## Billing through Shopify

If you installed from the Shopify App Store, your Retainful subscription can be billed through Shopify and appears on your Shopify invoice. See [Billing and plans](/account/billing-and-plans).
