Attribloom
All help

Shopify attribution

Connect a Shopify store so paid orders can credit the affiliates who drove them.

Connect your store

Open Shopify in the dashboard. Enter the store's `.myshopify.com` address in Store domain, then select Connect Shopify. Attribloom sends you to Shopify's OAuth consent screen to authorize the connection.

How orders attribute

Paid orders can credit an affiliate through that affiliate's unique discount code. Tracking links use a second path: the storefront must capture the incoming referral and write it to the cart attribute named `ref`, which Shopify carries onto the order. Complete that storefront setup before relying on tracking-link attribution.

Refunds

When a credited order is refunded, its commission is clawed back automatically. The reversal keeps the affiliate balance aligned with the order's final outcome.

Let your AI agent finish the setup

The Shopify page includes Let your AI agent finish the setup. After connecting the store, use Copy AI Prompt or Download AI Prompt and give it to your AI Shopify or web assistant. The prompt includes the connected store and link details needed to capture the `ref` cart attribute and verify attribution.

Confirm the storefront path

Visit the store through a referral URL, add an item to the cart, and place a test order. Confirm the Shopify order has a note attribute named `ref`, then check that the order appears under Attribloom Conversions for the expected affiliate.

GlossaryLearnIntegration guides