Cross domain tracking enable you to track a customer journey across multiple websites without loosing the visitor identifiers or sessions.
Cross-domain tracking is a method that stitches user journeys and first party data across multiple domains into a single session.
Let's say that your online store runs on
store.com and the checkout is on
You have the same tracking tags on the store and the cart system. ex: facebook pixel, google analytics.
When the user clicks on the Checkout button to navigate to the checkout page a few things will happen:
Without Cross domain tracking:
- A new session will start and will be set as source / medium:
store.com / referral
- New cookies will be set on the user browser.
- The conversion will be attributed to
store.com / referral
With cross domain tracking:
- The session will remain open preserving the source / medium that triggered the initial visit to your store
- The cookie data will pass to the checkout page URL
- Google Analytics will record the conversion and attribute it to the initial session and user
- If you're advertising on Google Ads or facebook, the conversion will be attributed to the initial session
- Cross domain between a blog and a shopify store hosted on different domains
- Cross domain between a website and a cart system (thrivecart, samcart etc..)
- Cross domain between two AnyTrack accounts.
- When you have multiple shops on different domains ex:
- Each domain must be set as an independent property, with its own tracking tags, and pixel integrations.
- Cross domain settings are controlled from the property where the initial traffic is generated.
Cross Domain Property: The property that you advertise on Google, Facebook (or other) and from which you send traffic to your shop.
Cross Domain Destination: The property that receives traffic from the Cross Domain Property.
- Open settings of the Cross Domain Property and navigate to the settings tab.
- Scroll down to the client-side tracking section and open the Cross-Domain Tracking option.
- Add the root domain(s) of the cross domain destination
Toggle the Forward Conversions from the referred properties.
This setting will enable the conversions from the Shop to be sent to the Cross Domain Property
Select which conversions events you'd like to receive from the Cross Domain Property.
Enable UTM parameters if you want AnyTrack to forward UTM parameters from the Cross Domain Property to the Cross Domain Destination.
Save your settings
- Open the Cross Domain Property website and hover on one of the links pointing to the Cross Domain Destination website (your shop)
- You should see a parameter
?atrefid=auoasdiafs0df8as0d89fas0df8appended to the shop url.
If you don't see it it, open a new browser window (incognito mode) or guest mode, and repeat step 1,2.
- Now click on the link and go through the funnel.
- Once you are done, you can open the conversion event page of the Cross Domain Property and check the conversions that were received from your shop.
Validation in external tools:
- In Google Analytics, the real-time dashboard will show the conversions.
- In Facebook Event Manager, wait about 15-20 minutes to see your conversions.
- Add a webhook to the property and send the conversion to a Google Sheet or Airtable.
Now that your cross domain settings are updated you will be able to:
- Promote your blog on any ad platforms.
- Track and attribute conversions as if your blog was the "Shop" itself.
- Build custom audiences on both properties, and according to any of the conversions or events received from your Shopify property.
- Run campaigns promoting your Shop independently.
If you partner up with another AnyTrack customer passing conversion data between properties is done through the AnyTrack / Webhook integration.
In the scenario where the Blog and the Shop are in different AnyTrack accounts, you will have to follow the same instructions, except that in order to sync conversions between the two properties you will need to follow these instructions:
- Follow the standard cross domain tracking instructions
- Ignore the Forward Conversions from referred properties.
- Then Create an integration - Select AnyTrack
- Send the Webhook URL to the Shop owner
- Create a webhook
- Paste the webhook URL the Blog Owner sent you
- Select the conversions you'd like to send to the blog owner
- Thrivecart has its own integration settings that you should follow.
Updated 3 months ago