Special offer: one-time payment

ClickMagick purchase events

Vendors using ClickMagick to track purchase events can use the following code to add to their checkouts so that products and order amounts are added to their tracking. To learn how to add codes to your checkout, please view this article.

<script>
(function() {
var img = new Image();
img.width = 1;
img.height = 1;
img.src = '//www.clkmg.com/api/s/pixel/?uid=XXX&att=2&amt=' + (_thrive_order.order.product.total_readable) + '&ref='; document.body.appendChild(img);
})();
</script>

*You need to replace the ‘XXX’ with your ClickMagick ID.

Remember;

These codes go in your “if the customer purchases…” tracking fields. They will be automatically loaded and triggered on the ThriveCart hosted success page including trying to load these prior to redirecting to any custom success page you have set up.

If you have any questions please don’t hesitate to get in touch with us directly here.

Was this article helpful?

Related Articles

Contents

Need Support?

Can't find the answer you're looking for?
Contact Support