B
B
b3Nky2020-12-24 12:27:02
Facebook
b3Nky, 2020-12-24 12:27:02

How to set up the facebook pixel namely the Lead event to submit the form?

Hello !
Please tell me how to properly set up the lead event in the Facebook pixel.
I read the documentation but it didn't help.

document.addEventListener( 'wpcf7mailsent', function( event ) {
    fbq('track', 'Lead');
  }, false );

Thus, when the form is sent, the pixel is protected, but there are two forms on the page, and the counter in the admin panel shows activity in two but counts in one, you need to make sure that for sending each form they are separately counted in the admin panel for each form its own event.
This pixel has the following settings
content_name: '',
    content_category: ''
tell me if they can be used to solve my problem, and if so, how, I tried to pass the court form id but it does not work?!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question