Can I add tracking code to a JotForm?

  • Profile Image
    RossTooley
    Asked on September 18, 2017 at 08:16 PM

    We are doing some facebook advertising and the company doing the advertisements would like to add some tracking code to the JotForm.

    Thanks

    Ross

  • Profile Image
    John_Benson
    Answered on September 18, 2017 at 09:03 PM

    You can add a Unique ID widget to your form. This widget is absolutely essential if you need to uniquely identify each form submission.

    Related guide: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

    You can also try our Form Analytics tool. For more information, please visit this page: https://www.jotform.com/form-analytics/

    If you have any questions, please contact us again. Thank you.

  • Profile Image
    RossTooley
    Answered on September 20, 2017 at 03:43 AM
    I am needing to add the following code to the jot form so that visitors to
    it are tracked.



    src="https://www.facebook.com/tr?id=887639588055633&ev=PageView
    &noscript=1"/>


    Regards
    Ross
    ...
  • Profile Image
    Jim_R
    Answered on September 20, 2017 at 04:03 AM

    Hey Ross, sorry for the confusion. I'm assuming you wanted to add the tracking codes, not on your form, but on your Thank You page, correct?

    You can only place HTML-based or image-based tracking codes to the Thank You page. Any scripts you add will be stripped off automatically for security reasons. If you need to have the event script included, your only option is to use your own Thank You page that is hosted on your website, then redirect your form to that Thank You page where the FB tracking codes are present.

    Complete guide: Redirecting-Users-to-a-Different-Page