Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author apasionados

    (@apasionados)

    Hi there,

    We have had a look and there are quite a few JavaScript errors on the page which prevent the “wpcf7mailsent” to be fired.

    We will have a deeper look next week after the GDPR madness has ended in Europe.

    Best regards from Spain.

    Plugin Author apasionados

    (@apasionados)

    Hi

    We have had a look at the JavaScript errors on your page that prevent the Facebook Lead event from firing. The error is uncaught TypeError: Cannot read property 'style' of null: https://imgur.com/a/PIt1mgm.

    It seems that you activated the option: “Hide form after succesful submission?” which hides the contact form after it has been completed and sent correctly.

    In order to be able to hide only the form and not the succesful submission message, the form must be wrapped in a div called hidecontactform7contactform.

    This has not been done and as this option adds this code to wpcf7mailsent: document.getElementById('hidecontactform7contactform').style.display = 'none'; it ends with a JavaScript error and the Facebook Pixel is not fired.

    Please either uncheck this option or wrap the form into the div called hidecontactform7contactform.

    Best regards from Spain.

    Thread Starter lightningmcqueen

    (@lightningmcqueen)

    Great thanks very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook event not firing’ is closed to new replies.