Answer the question
In order to leave comments, you need to log in
How to set up Facebook Pixel form submission conversion?
I set up Facebook Pixel, added the following after the fbq('track', 'PageView') line (according to the advice of English-speaking forums):
<script>
document.addEventListener( 'wpcf7submit', function( event ) {<spoiler title=""></spoiler>
fbq('track', 'Lead');
}, false );
</script>
Answer the question
In order to leave comments, you need to log in
Here is full and detailed information with answers to your questions:
https://developers.facebook.com/docs/facebook-pixel
https://developers.facebook.com/docs/facebook-pixe...
If you have a form on site, then you need to send data in this way https://developers.facebook.com/docs/facebook-pixe... in order to transfer data to Facebook and further target your customers.
For this to work properly, it is better to send the form via Ajax, in the callback of which you will have an fbq () call with client data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question