I have tried so many different variations of trying to track a conversion event (both button click and page load) in Kajabi using the Manychat pixel and have not had any success logging any events. I am able to log conversion events that occur during my Manychat automation and have a button click to a Kajabi website. I have copied the pixel from Manychat and pasted the pixel into the Settings - Page Scripts - Header Page Scripts. Kajabi advises “This code will be placed in the <head> section of every page. So from my understanding, the pixel should be listening for events.
I’ve tried putting the event codes just about everywhere I can think of and have not received a single conversion event sent back to Manychat analytics. I’ve tried in the Checkout Settings “Add custom tracking code to monitor checkout performance” Header tracking code “This code will be placed in the <head> section of every checkout page” and in the Footer tracking code “This code will be placed at the end of the <body> of each checkout page”. I’ve tried on the system Thank you page in the settings, Custom Code, Javascript Code field, and I’ve tried in the custom Thank you page content field by adding a code section.
The event tracking codes that I’ve tried are:
<body onload="window.MC_PIXEL.fireLogMoneyEvent('test', 500.00, 'USD')"> ... </body>
and
<!-- Conversion Event -->
<script type= "text/javascript">
window.addEventListener ('load', function 0) {
window.MC_PIXEL.fireLogConversionEvent("MCtest");
});
</script>
and
<script>
(function(){
document.addEventListener("DOMContentLoaded", function(){
var maxAttempts = 25;
var attempts = 0;
var sendEvent = function(){
if (!!window.MC_PIXEL) {
window.MC_PIXEL.fireLogMoneyEvent('advanced_checkoutpage_purchase', {{ checkout.subtotal_price | money_without_currency }}, 'USD').then(
function(){console.log("Event Logged")},
function(err) { console.log("Event Failed", err.message)}
);
} else if (attempts < maxAttempts) {
window.setTimeout(sendEvent, 500);
attempts++;
}
}
sendEvent();
});
}());
</script>
I’ve had no luck getting any events to pass from Kajabi to Manychat. Any suggestions? I would be more than happy to pay someone to solve this for me.