I saw a previous post going over something similar but I didn’t understand the solution. Thought it would be as simple as throwing this code into the theme folder but I don’t see it working. I already have the pixel installed by shopify so it’s on every page. I’m not a developer but it seems like it should be pretty easy but I’m just not getting it to work. Any ideas?
<script>
window.addEventListener("klaviyoForms", function(e) {
if (e.detail.type == 'submit') {
fbq('track', 'Lead');
</script>
Best answer by julie.accardo
View original