How to enable cross domain tracking with AnyTrack
AnyTrack enables you to track cross-domain conversions while using first-party data. It will capture the visitor first party data and traffic information on your first domain and pass it to any other websites connected in your AnyTrack account.
To measure sessions, AnyTrack sets and collects a
clientIdvalue in every hit.
clientIdvalues are stored in cookies - in a first party scope.
clientIdbelongs to the first party data of your site. Since cookies are stored on a per-domain basis, and websites on one domain cannot access cookies set for another domain.
When you measure sessions across multiple domains, the
clientIdvalue has to pass from one domain to the other. To achieve this, Anytrack Tag has a linking function that allows the first domain to place the
clientIdin the URL parameters of the destination URL parameter of a link.
This way, the destination domain can read the
clientIdfrom the URL parameter and use it for tracking purposes.
- When you run native ads campaigns promoting advertorials where you promote products sold on your own Shopify store.
- When articles from your blog promote products sold on a Woocommerce hosted site.
Due to strict browser privacy settings, ITP, ETP, user tracking / cookies data can't be shared across domains. Therefore, when users navigate from Domain A to Domain B, Google Analytics, Facebook Pixels and other pixels, will initiate a new user session, with new first party data, cookies and tracking information.
In cases where you advertise landing page on Domain A, which promotes products on Domain B, you will want to attribute the conversions to ad clicks that triggered the initial visit on Domain A.
Since the user first party data (i.e. Google Cookie ID) is associated with Domain A, it can't be used on Domain B, and consequently the conversions can't be attributed to the initial ad click.
- 1.landing-page-blog.com - A landing page or blog where you review / promote products sold on your Shopify store.
- 2.my-store.com - a Shopify store where your visitors can purchase your products.
AnyTrack enables you to do that using the
You will need to use cross-domain tracking if you want to aggregate visits on multiple domains into one single session and you want to attribute the conversion to the initial touch point via a postback URL.
Whenever you are passing traffic from one domain to another, AnyTrack will need to know about it using the
atclidparam is a URL param that needs to pass on every link from the original domain to the second.
Whenever AnyTrack sees the
atclidparam on the URL, it will capture all the attribution data from the original click id and assign those on the current user session.
Your visitors click on a Facebook Ad and visits your landing page. Using the
atclidparam you forward the client to your Shopify store and the client bought a watch on your store.
Once the purchase is made, you will see that the users came from the Facebook campaign and you will have Facebook click id attributed for that user.
When tracking traffic over multiple domains, you have a choice between tracking all the traffic using a single AnyTrack property or split each website on a separate property.
There are Pros and Cons for each method, but ultimately you will have to pick the method that best suits your goals.
Using this method, both websites will use the same AnyTrack TAG. This means that all the conversions will be attributed to a single property, and the same tracking pixels such as Google Analytics will be set on both websites.
- Easier to manage and setup
- You can analyze your entire dataset with one single set of pixels / analytics.
- As bowser privacy gets stricter, you might find cases where tracking data is being blocked.
- Reporting on Google Analytics can be complex.
In this method, every website uses a different AnyTrack TAG. This means that the conversions will be listed under the property where the conversion was made and you will have a complete data separation between each property.
- AnyTrack Tag
- Google Analytics & Facebook Pixel / Conversion API
If both properties have been set according to the instructions, what is left to do is to send the conversions from shopify to your "blog property".
In order to achieve this task, we use the webhook feature, which will fire the conversions from the shopify property to the blog property.
- 1.Setup a webhook under the shopify property
- 2.Place your webhook
- 3.Select the events you wish to track (in most cases you will want to track the Purchase event)
- 4.Create a custom affiliate network
- 5.Name it and add some dummy values to each parameter
- 6.Copy the postback url
- 7.Return to Zapier or Integromat (where you created your webhook.
- 8.Trigger a sale
- 9.Complete your Zap / integromat scenario