• I need to add a Facebook Pixel that will fire once the form is submitted.
    How can I do that with elementor? And is there a way to do that without any plugins?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Elementor doesn’t have a feature to directly add the tracking pixel code, however, you could make use of our HTML Widget to add the analytics code in it.

    As a possible workaround, you could also consult the guides below:
    How to Install Facebook Remarketing/Retargeting Pixel in WordPress
    Facebook Pixel Set-up Guide

    I hope this information helped you

    Thread Starter Edi

    (@edi365)

    How can I do that? I’m not very good with code.

    I found this page about the button widget that has a section called “How to Track “Button onClick” Event”.
    This is only partially relevant since it’s for a single button, not a form as I need since I can’t edit the button’s css id in a form. I need it to run on form submit.

    Can you help me with the code I need to put in the HTML widget and how should I make it fire on form submit?

    Thanks

    Thread Starter Edi

    (@edi365)

    I still can’t find a way to “fire” the facebook pixel on form submit.

    I just need to use the form’s onSubmit or onClick HTML tags but how can I do that?.

    I would really appreciate your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding script that will activate on form submit’ is closed to new replies.