> ## 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.

# Storefront tracking

> How Retainful tracks on-site behavior — the Shopify web pixel, the WooCommerce plugin, and what data is collected.

Retainful's storefront tracking records what shoppers do **before** they identify themselves — product views, sessions, checkout starts — and stitches it to a contact as soon as an email appears (at checkout or in a signup form).

## How tracking is delivered

<Tabs>
  <Tab title="Shopify: web pixel">
    Retainful registers a **web pixel** through Shopify's pixel manager — a sandboxed script Shopify runs on every storefront page, including checkout. No theme edits, and it survives theme changes.

    What it captures:

    * **Product views** — product, variant, price, and URL for each view.
    * **Checkout contact info** — the email/phone a shopper enters at checkout, with their stated marketing consent.
    * **Session continuity** — a short-lived session identifier so a later checkout can be connected to the browsing that preceded it.

    Enable or disable it from **Integrations → Shopify → Web Pixel**.
  </Tab>

  <Tab title="WooCommerce: plugin">
    The [Retainful plugin](/integrations/woocommerce) tracks server-side from inside WordPress — product views, checkout starts, and order events are posted directly from your site to Retainful's event endpoints. Nothing extra to install on the storefront.
  </Tab>
</Tabs>

## What the data powers

| Captured signal          | What it enables                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| Product views            | Browse-based segments and recently-viewed product blocks in emails.                                                           |
| Checkout email + consent | [Cart recovery](/automations/abandoned-cart-recovery) reaching shoppers who never finished checkout — with consent respected. |
| Sessions                 | Connecting anonymous browsing to the contact once they identify.                                                              |
| Form submissions         | New subscribers flowing into lists, triggering welcome automations.                                                           |

## Privacy posture

* Tracking is **first-party** to your store relationship: data goes to your Retainful organization and is used for your marketing — it is not pooled across stores.
* Consent captured at checkout (email/SMS opt-in checkboxes) is stored on the contact and **enforced at send time** — see [subscription status](/audience/overview#subscription-status).
* Contacts can be deleted entirely (dashboard or API) to honor GDPR/CCPA erasure requests.

<Note>
  If you run a consent management platform (cookie banner), treat Retainful's storefront tracking like your other marketing tags and gate it per your regional requirements.
</Note>
