Skip to content

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.

Advertorial to Shopify Store

The advertorial property owns the ad click, so the store purchase must return to the advertorial property.

  1. 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.
  2. Visitor clicks the product link. The Tracking Tag adds atrefid to the link that points to the store. The advertorial property tracks an OutboundClick. Data: atrefid (present). Passes on: ?atrefid=<Click ID>.
  3. Visitor shops on the store. Tools: Shopify. Store property. The store Tracking Tag reads atrefid from the page URL and keeps it with the session.
  4. Order webhook sends the Purchase. Tools: Shopify. The store property records the purchase.
  5. AnyTrack copies the purchase. The advertorial property receives a copy of the Purchase.
  6. 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.

  1. Open the store property.
  2. Set up the Shopify integration. Follow Shopify from start to finish, including the Tracking Tag and the webhooks.
  3. Make a test order. Verify that the Purchase shows 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”
  1. Open the advertorial property.
  2. Open the Settings tab, then find Cross-Domain Settings.
  3. In Additional Domains, enter the domain of your store, for example mystore.com. Press Enter.
  4. Turn on Enable to sync Conversions triggered on cross-domain properties with this property.
  5. In Event Names, keep Purchase. Keep InitiateCheckout, AddToCart, and ViewContent if you want them in the advertorial property.
  6. Click Save.

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.

  1. Open the advertorial in a new incognito window.
  2. Hover over a link to a store page. The link URL must contain ?atrefid=.
  3. Click the link and complete a test order on the store.
  4. Open the Conversions Report of the store property. The Purchase shows as a referral from the advertorial domain.
  5. Open the Conversions Report of the advertorial property. The same Purchase shows with the traffic source of your visit.

For each setting and each check, see Cross-Domain Settings.

These results apply to a visitor who clicks a link from the advertorial to a store page.

WhereWhat you see
Advertorial propertyThe Purchase, attributed to the ad click and the campaign of the first visit, plus the OutboundClick on the product link
Store propertyThe same Purchase, as a referral from the advertorial domain
Your ad platformThe 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 advertorialThey stay on the store property only
Purchases from a direct link to the cart or checkoutNot covered by this guide. See Shopify Cart Permalinks.

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?
Check four points. 1. The link on the advertorial carries 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.
Do I configure cross-domain settings on the Shopify store property?
No. All the cross-domain settings live on the advertorial property. The store property needs the Tracking Tag and the Shopify integration only.
Should I connect my Meta pixel to the store property too?
Connect the pixel of the campaign to the advertorial property, which owns the ad click. If the store also runs its own ads with the same pixel, Events Manager counts some purchases twice, and Ads Manager attribution stays correct.
My advertorial is on blog.mystore.com and the store is on mystore.com. Do I need this setup?
No. Subdomains of one root domain share the first-party cookie. Track both in one property, with no cross-domain settings.
Can I send AddToCart and InitiateCheckout from the store to the advertorial property?
Yes. Keep the events in the Event Names list of the advertorial property. AnyTrack copies each event in the list and the advertorial property sends it to its connected ad platforms.