Advertorial and Shopify
Set up cross-domain tracking between an advertorial on one domain and the pages of your Shopify store on another, so the purchases credit the ad.
Your ads send visitors to an advertorial on one domain, for example best-skincare-tips.com. The advertorial links to your Shopify store on another domain, for example mystore.com. This guide connects the two properties. A purchase that starts with a click from the advertorial to a store page then returns to the advertorial property. The advertorial property sends it to your ad platform with the original ad click.
How the Data Travels
Section titled “How the Data Travels”Advertorial to Shopify Store
- Visitor clicks your ad. Tools: Facebook Ads. Advertorial property. The visitor lands on the advertorial. The advertorial property records the session with the ad click ID.
- Visitor clicks the product link. The Tracking Tag adds
atrefidto the link that points to the store. The advertorial property tracks anOutboundClick. Data: atrefid (present). Passes on: ?atrefid=<Click ID>. - Visitor shops on the store. Tools: Shopify. Store property. The store Tracking Tag reads
atrefidfrom the page URL and keeps it with the session. - Order webhook sends the
Purchase. Tools: Shopify. The store property records the purchase. - AnyTrack copies the purchase. The advertorial property receives a copy of the
Purchase. - Conversion API delivery. Tools: Facebook Ads. The advertorial property sends the purchase with the original ad click.
Result: Ad gets the credit. Ads Manager shows the purchase on the campaign that sent the visitor to the advertorial.
The advertorial property is the source property: it owns the ad click and all the cross-domain settings. The store property is the destination property: it records the purchase, as it does for any other visitor.
Step 1: Set Up the Store Property
Section titled “Step 1: Set Up the Store Property”- Open the store property.
- Set up the Shopify integration. Follow Shopify from start to finish, including the Tracking Tag and the webhooks.
- Make a test order. Verify that the
Purchaseshows in the Conversions Report of the store property.
The store property needs no cross-domain settings.
Step 2: Configure the Advertorial Property
Section titled “Step 2: Configure the Advertorial Property”- Open the advertorial property.
- Open the Settings tab, then find Cross-Domain Settings.
- In Additional Domains, enter the domain of your store, for example
mystore.com. Press Enter. - Turn on Enable to sync Conversions triggered on cross-domain properties with this property.
- In Event Names, keep
Purchase. KeepInitiateCheckout,AddToCart, andViewContentif you want them in the advertorial property. - Click Save.
Step 3: Link to Store Pages
Section titled “Step 3: Link to Store Pages”Link the advertorial to product or collection pages of your store. The store pages load the Tracking Tag of the store property, which keeps atrefid with the session.
Step 4: Verify the Setup
Section titled “Step 4: Verify the Setup”- Open the advertorial in a new incognito window.
- Hover over a link to a store page. The link URL must contain
?atrefid=. - Click the link and complete a test order on the store.
- Open the Conversions Report of the store property. The
Purchaseshows as a referral from the advertorial domain. - Open the Conversions Report of the advertorial property. The same
Purchaseshows with the traffic source of your visit.
For each setting and each check, see Cross-Domain Settings.
What to Expect
Section titled “What to Expect”These results apply to a visitor who clicks a link from the advertorial to a store page.
| Where | What you see |
|---|---|
| Advertorial property | The Purchase, attributed to the ad click and the campaign of the first visit, plus the OutboundClick on the product link |
| Store property | The same Purchase, as a referral from the advertorial domain |
| Your ad platform | The Purchase from the advertorial property, sent through the Conversion API with the order value |
| Purchases from visitors who reach the store with no link from the advertorial | They stay on the store property only |
| Purchases from a direct link to the cart or checkout | Not covered by this guide. See Shopify Cart Permalinks. |
Related Articles
Section titled “Related Articles”- Cross-Domain Tracking: when you need it and how it works
- Cross-Domain Settings: each field and its default
- Shopify: the store integration
- Review Site, Stores, and Affiliate Offers: one source site with several stores
Frequently Asked Questions
FAQ was last reviewed on 2026-11-12
Why does the purchase show on the store property but not on the advertorial property?
atrefid, not atclid. 2. The domain of the link is in Additional Domains. 3. Purchase is in the Event Names list. 4. The visitor reached a store page through the tagged link. A visitor who types the store address has no atrefid, and the purchase stays on the store property.