Integrations
Activate Storefront Pixel
Install the Shopify storefront tracking pixel, or repoint an existing one
POST
Activate Storefront Pixel
Install the storefront tracking pixel on a connected Shopify store, or repoint an existing pixel at this account.
This is the step that turns on product views, cart activity, and browse abandonment - the data every browse-abandonment and cart-recovery sequence depends on. Run it before building those sequences: events start flowing on the next storefront visit, and nothing is backfilled for the period the pixel was off.
Idempotent. A pixel that is already installed and current returns
This endpoint takes no request body.
changed: false without writing to the store.
Shopify only. Other providers return a 400.
Requires an API key with the integrations:manage scope.
Request
string
required
Shopify integration ID, from List
Integrations.
Response fields
boolean
false when the pixel was already installed and reporting to this account.boolean
true when a new pixel was installed on the store.boolean
true when an existing pixel was repointed at this account.object
Pixel state after activation. Same shape as Get Storefront
Pixel.
array
Event names this pixel enables.
Permissions
If the store granted the app an older permission set, Shopify refuses the install and this endpoint returns a400 naming the reconnect step. Reconnect Shopify from Settings -> Integrations in the dashboard to grant storefront tracking permissions, then retry.
Responses
Activate Storefront Pixel