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

# Shopify integration

> Connect your Shopify store for hybrid tracking — Web Pixel journey events plus a server-confirmed purchase webhook.

Dáva's Shopify integration is **hybrid** by default: it combines a client-side Web Pixel with a server-side purchase webhook, joined into one session so you get full browsing journey visibility *and* payment-confirmed conversions — no theme editing required.

## How it works

Two pieces are registered automatically when you connect your store:

* **Web Pixel (client-side).** Runs inside Shopify's own sandbox and reports `page_viewed`, `product_viewed`, `add_to_cart`, `checkout_started`, and `checkout_completed` events as shoppers browse.
* **Order-paid webhook (server-side).** Shopify notifies Dáva directly when an order is actually paid — this confirms the conversion independent of ad-blockers or a shopper closing the tab before the thank-you page finishes loading.

Both carry the same checkout token, so Dáva joins them into a single session: the confirmed purchase is attributed back to the browsing journey — and the campaign — that brought the shopper in.

## Connect your store

1. In your Dáva dashboard, go to **Settings → Integration**.
2. Under **Shopify**, enter your store's `*.myshopify.com` domain and click **Connect Shopify**.
3. You'll be redirected to Shopify to review and approve the requested permissions.
4. After approving, Shopify redirects you back to Dáva. The Web Pixel and purchase webhook are registered automatically — no further setup needed.

<Note>
  If Shopify rejects the connection or your store isn't recognized, [contact Dáva support](mailto:support@davazmysel.com) — your store may need to be whitelisted before you can connect.
</Note>

<Warning>
  Always connect through the **Connect Shopify** button in your Dáva dashboard. A Shopify-generated install link (from a "share link" or similar) skips Dáva's setup step entirely — the app installs, but no events are ever tracked.
</Warning>

## Reconnecting

If tracking stops receiving events, or you've reinstalled the app in Shopify directly, use **Disconnect** in **Settings → Integration**, then **Connect Shopify** again. This re-registers the Web Pixel and webhook from scratch against your current Dáva configuration.

## What gets tracked

| Shopify event                  | Dáva event type                             |
| ------------------------------ | ------------------------------------------- |
| Page view                      | `pageview`                                  |
| Product viewed                 | `product_viewed`                            |
| Add to cart                    | `add_to_cart`                               |
| Checkout started               | `checkout_started`                          |
| Checkout completed (Web Pixel) | `checkout_completed`                        |
| Order paid (webhook)           | `conversion`, with order value and currency |

## Next steps

* [Funnel and goals →](/tracking/funnel-and-goals) — turn these events into Cold / Hot / Acquisition stages
* [Webhooks →](/tracking/webhooks) — how the order-paid webhook fits alongside Stripe, HubSpot, and other platforms
