Clickmagick Tracking Solution

Hey all.

If you’re trying to set up dynamic purchase tracking with click magick here’s the code:

<script>

let orderValue = localStorage.getItem("funnelish_order_value");
if (orderValue) {
window.clickmagick_cmc = {
        uid: 'XXXX',
        hid: 'XXXX',
        cmc_goal: 's',
        audopt_pro: 'on',
        cmc_ref: 'Sale',
        cmc_amt: orderValue,
    }
}
</script>

Just replace the UID and HID.