Knowledge Base      


How do I track my Kartra sales in ClickMagick?


Here’s how to set up tracking with Kartra …


Step 1 – Add the Click Tracking Code to your Landing Page

If you haven’t already, install your Click Tracking Code on any landing page(s) you’re currently sending traffic to.

In ClickMagick, head over to Campaigns > Tools > Website Code Tool and choose “Website Code Wizard”. Copy the code shown in the first step.

  

 
In Kartra, edit the landing page you’re using, click on the “Settings” button, then “Tracking Code”.

 
 

Paste your Click Tracking Code into the “Embed tracking code into the <body>” box and hit “Apply”.

  
  

Step 2 – Add your Checkout Tracking Code

If you haven’t already, add the following code to your checkout page. You can do that following the same steps you took in Step 1.

<script>
    window.clickmagick_cmc = {
        uid: '[USERID]',
        hid: '[HID]',
        cmc_goal: 'e',
        cmc_ref: 'checkout',
        vid_info: 'on',
    }
</script>
<script src='//cdn.clkmc.com/cmc.js'></script>


This will track people who reach your checkout page as an Engagement in ClickMagick. It also collects their email address and other personal information to add to their Visitor Profile.


Step 3 – Set up the Kartra Integration for Sales Tracking

In the main dashboard of Kartra, go to “Settings”, then “Integrations”.

  
 

Next, go to “IPN” at the top of the page, then click the “Add IPN” button.
  
   

 
 

Use the following settings, then click on “Create”.
   
Product funnel: All Products
Product: Whole funnel
HTTP Option: https://
IPN Script URL:
www.clickmagick.com/user/account/integrations/kartra/?uid=[USERID]
Secret key: Empty

 
 


Step 4 – Remove your existing Sales Tracking Code

Once you’ve set up the integration, the final step is to remove any existing sales tracking code from your web pages that you may have added prior to November 2024.

The new integration will automatically track all of your sales, upsells and downsells, and refunds without the need for any sales tracking code on your pages ...

And if you have sales tracking code on your pages and use the integration at the same time things will break.

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


Article 949 Last updated: 11/20/2024 4:07:13 PM
https://www.clickmagick.com/kb/?article=949