Knowledge Base      


What if parts of my funnel are on different domains?


If different pages of your funnel are spread across multiple sub-domains on the same root domain e.g. product.site.com and buy.site.com you’ll be happy to know you don’t need to do anything special at all.

All of your sub-domains will belong to the site.com project and everything will be tracked normally.

On the other hand, if you need to do true cross-domain tracking between different root domains e.g. product.com and buyproduct.com then you will need to do some extra work to allow things to be tracked properly …

What you need to do is that any time you link from product.com to buyproduct.com you’ll need to include the optional cmc_vid parameter in the URL, which is what allows uninterrupted tracking when the user switches from one domain to the other.

To include this optional parameter at the end of your link, you can click on the “Optional CMC Parameters” tab in your Campaigns URL Builder and select the [cmc_vid] token:
 
 


Alternatively, you can manually add this token and parameter to the end of your link. So, for example if your user is on product.com and you want to send them to the next page of your funnel, which is on buyproduct.com, your normal URL would look like this:

https://www.buyproduct.com/nextpage.php

If you add the [cmc_vid] token, it should look like this:

https://www.buyproduct.com/nextpage.php?cmc_vid=[cmc_vid]

[cmc_vid] is what’s known as a “token” or placeholder, and when a real user clicks the link, it will be converted into a unique ID that will “follow” them as they continue through your funnel on your buyproduct.com domain.

 
Note: You’ll also need to ensure that some version of the Campaigns tracking code is on the page on the new domain you’re linking to. You’ll almost certainly want to track this progress as an “action” or an “engagement”, so you’ll probably already be doing this, but if not then go ahead and add the Click Tracking Code to the page you’re linking to on buyproduct.com.


Article 466 Last updated: 03/30/2023 8:32:58 AM
https://www.clickmagick.com/kb/?article=466