Attribloom
All articles

Shopify attribution

How to attribute Shopify sales to affiliates without third-party cookies

Key attribution to the affiliate link and confirm the order from Shopify's server-side webhooks, so it does not depend on third-party cookies.

Third-party cookies are going away

Affiliate programs have long relied on third-party cookies to remember which link a shopper clicked. Browsers now block or limit those cookies, which makes cookie-based affiliate tracking increasingly unreliable, especially across the days between a click and a purchase.

Use Shopify's server-side webhooks

Shopify emits order and checkout webhooks from its own servers when a sale completes. Those events are authoritative and do not depend on anything in the shopper's browser. Keying attribution to the affiliate's tracking link and confirming the sale from these webhooks gives you attribution that survives cookie loss.

From there, the commission is applied to the real order value, excluding refunds and taxes as configured, and reversed if the order is later refunded.

Frequently asked

Is web attribution harder than App Store attribution?

No. Web checkout attribution is far simpler because the platform emits a server-side order event. The App Store case is the hard one, which is why native StoreKit attribution is the bigger differentiator.

In the glossary

Continue reading

Get startedSee pricingMore articles