hmm… that’s probably from the OLD plugin it got updated so you don’t really need an API key at all.
The Api Key is not needed anymore but instead the LIST ID is still required.
That’s exactly what it means the plugin above needs almost ZERO coding, and the inputs I mentioned were the Clickfunnels Inputs you want, as you said only need First Name and email, then add those that’s it… but DO NOT change the CODE at all (you don’t need to)…
The code plugin, above should be working for all cases… no matter how many basic input fields you might have…
PS. the code plugin above DOES NOT support custom fields, since klaviyo itself has a weird way of handling those… but I’m open to suggestions on that aspect.
Thanks so much Yassine! I did get it working. One last question, will the plugin handle directing a user to a new URL so they can be taken to the thank you page in a funnel?
window.addEventListener(“load”, function() {
var divs = document.getElementsByTagName(“div”);
for (i = 0; i < divs.length; i++)
{
var div = divs[i];
if (div.getAttribute(“data-title”) == “optin button” || div.getAttribute(“data-de-type”) == “button”) {
div.onclick = function() {
// Send the lead to Klaviyo
send_to_klaviyo();
};
}
}
});
Ok will check that and reply asap, though is there anything common in those contacts that can help? or perhaps are you using this plugin or using our internal syncing from within automations… any details would help a lot.
I have a problem and I think this thread is a great place to start.
I’m able to add people to my Klaviyo list BUT I want to be able to see the data of their purchases. For example if I send an abandoned cart email from Klaviyo to a CF landing page and the subscriber buys something.
Do you have suggestions/ideas on how to accomplish this? Is it possible?
Since adding purchase tracking in public javascript can be inaccurate or manipulated.
Though I’d assume that perhaps you should try tagging no? wouldn’t tagging a customer if they bought work for you? and then use that tag to launch any automations?
Bought product X add them to list of Buyers_X, bought Product Y, add them to another list, if only opted in add them to List of optins and follow up with them to buy X or Y. That’s how it should be normally.
You don’t need a platform, or to complicate things, I think your case is pretty simple, you can do all you side from within Klaviyo, after all that’s what you pay that Klaviyo monthly fee for. to have strong automations.
You can launch automations based on which list it is.
this does not seem to work anymore. I pasted the list id code snippet and the script itself in the head of my order form but nothing happens in Klaviyo.
I’m the posted above, just couldn’t recover my account. here’s an integrated funnel that is not showing any subscribers on the Klaviyo list when the form is completed.