Knowledge Base      


How do I set up the ThriveCart sales tracking integration ...


The ThriveCart sales tracking integration allows ClickMagick to track all of your ThriveCart sales, upsells and refunds without the need for traditional sales tracking code on your web pages.

If you’re following the step-by-step “getting started” guide you should have already set up your click tracking, but if not, please make sure you do that first. You can’t track sales without first tracking your visitors’ clicks.


 
Caution: This integration replaces, and is incompatible with, any existing sales tracking code you have added to your webpages or store.

If you’re currently tracking sales with the standard sales tracking code, be sure to remove it before setting up this integration or your sales won’t track properly.



Step 1 – Add the Tracking Parameter to your Checkout Links

If you’re linking from your own domain to a .thrivecart.com domain, you’ll need to add a tracking parameter to the checkout links on your sales page. You don’t need to do this if you’re using the same root domain throughout your funnel.

Just add ?cmc_vid=[cmc_vid] to the checkout links on your sales page. For example, if your checkout link is:

https://[USERNAME].thrivecart.com/offer

You’ll change the links on your sales page to be:

https://[USERNAME].thrivecart.com/offer?cmc_vid=[cmc_vid]


Step 2 – Set up the ThriveCart Integration for Sales Tracking

In the main dashboard of ThriveCart, click the user icon, then “Settings”.

  
   

Select “API & webhooks”.

 
 

Click “View settings” next to “Webhooks & notifications”.

 
 

Give your Webhook a name like “ClickMagick Webhook” then paste in the following Webhook URL:

https://www.clickmagick.com/user/account/integrations/thrivecart/?uid=[USERID]

Check the “Receive results as JSON” box, then click “Save this webhook”.

 



Step 3 – Remap your custom “Ref” values

This will make things like the Funnel Steps report more useful, and it will also allow you to specifically include or exclude certain types of sales when analyzing your stats. Follow the article below to set it up.


How do I set custom “ref” values when using a sales tracking integration?


And that’s it. Once you set this up, ClickMagick will automatically track all of your sales from ThriveCart.



 
Note: We always process conversion data immediately, but please note there can be a delay between when a conversion occurs and when ThriveCart sends it to ClickMagick. It’s usually just a few minutes, but we have no control over it.


Article 956 Last updated: 08/10/2025 11:24:16 PM
https://www.clickmagick.com/kb/?article=956