Hello,
Is a way to setup the Klaviyo signup forms to trigger a Facebook pixel event on my Woocommerce store?
The goal would be to optimize Facebook ads for a signup event at our Woocommerce store. I thought it would be a no-brainer but apparently I can’t figure it out.
I tried to use Facebook’s Event Manager to tag the Submit Button, but it won’t recognize the Klaviyo pop up-form.
I read somewhere that I can do this, but I'm unsure how does it work with Woocommerce, and where do I place the code. The Pop-up form itself doesn't have a custom code section to place it.
<script>
window.addEventListener("klaviyoForms", function(e) {
if (e.detail.type == 'submit') {
// add Facebook tracking pixel code here
}
});
</script>
Any help is most appreciated!
Comvita
Best answer by Walid
View original