I'd like to add a Facebook pixel to my form

  • Winwintendering
    Asked on October 24, 2017 at 7:31 AM

    I'd like to add a facebook pixel to my jotform - as I have a facebook ad which directs to a lead page which then directs to a jotform. I would like to track the conversions at the time of the jotform being activated.


    Is this possible?


    Chris

  • Jan
    Replied on October 24, 2017 at 10:41 AM

    Unfortunately, it is not possible to insert the Facebook pixel code on the form. According to Facebook guide, the pixel code should be inserted in the head element. There's currently no option in the Form Builder where you can insert a code in the head element.

    You may download the form's source code and edit the HTML, CSS and Javascript files. After that, you can upload it to your servers.

    If you want, you can use the Thank You page to redirect to a custom URL where the Facebook pixel tracking code is. You just need to create a page, put the pixel on it, and then upload it to your web server. After that, you can redirect the Thank You page to that file.


    My colleague Mike mentioned on this thread that it is possible to insert a Facebook pixel code using the noscript image tracking.

    You just need to get the tracking pixel image code that is located in between the tags. Here's an example:


    After that, you need to use the Text tool's Source Code and insert the image tracking code. Here's a screen capture:

    Id like to add a Facebook pixel to my form Image 1 Screenshot 20


    Hope that helps. Let us know if you have any questions. Thank you.