What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    GOOGLE CONVERSION CODE not working anymore on THANK YOU MESSAGE page? :/

    Asked by fradem on June 15, 2011 at 11:42 AM

    I've been using Google Conversion Code on the Thank You Message page (by entering Edit HTML source and pasting the code provided on Google Adwords).

    I realized that conversions haven't been registered since around June 8th and found out the the Google Conversion Script no longer "sticks" on the Thank You Message page: when I close and re-open the Thank You Message editor after pasting the code, the code is simply gone :/

    Did you remove scripting from the Thank You Message page alltogether?
    - I don't want to use the Custom Url option as it redirects the user to a whole new page. I just want to show a customized "Thank You" message and execute Google Convertion code in order to get that conversion in my Adwords Account.


    Please help!

    Mario Frade
    Lisbon, Portugal

    Page URL:
    http://queromaisclientes.pt

    Screenshot
  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 15, 2011 at 12:00 PM

    Hello Mario,

    Unfortunately, no, scripts are not allowed inside the Thank You message anymore. It has been that way since the 3rd of June for security reasons. According to our higher ups, allowing JavaScript inside the Thank You message can cause XSS (Cross-Site Scripting) problems on our site, that is why it was disabled.

    A workaround I advise to you is to embed your Google tracking code in a new page, preferrably one that follows your site's template so your visitors would not feel like they left your site.  Use that page's URL as the custom URL for your Thank You page.

    Hope I was able to shed some light into this issue. Let me know if my workaround sounds good enough for you or not.

    Feel free to ask more questions if you have any. We look forward to your response. Thank you and have a good one.


    Neil

  • Profile Image

    Answered by fradem on June 15, 2011 at 12:18 PM

    Unfortunately that workaround is a big no-no for me.
    I'm using unbounce.com to design the Landing Pages where I put the jotform's forms and Adwords Conversion Script (on the form Thank You message, without redirecting to another landing page).

    Cloning the Landing Page just to show the same page with a thank you message would double my fees to unbounce.com (they charge on a visitors-per-landing-page basis).

    The ability to run the Google Adwords Conversion Code on the Thank You Message is one of the reasons I chose Jotform in the first place (I've been doing that for that last year and a half!). I even payed a full year on your December promotion.

    I understand your safety issues, but that shouldn't be keeping your paying customers from doing legit things like register conversions.

    Can you work your way around that, like allowing scripts that run off google conversion.js page? http://www.googleadservices.com/pagead/conversion.js 

    I'm not that technical (that's why I use Jotform), but it seems to me a little bit harsh to block ALL scripting instead of allowing just scripts from a few and widly used script "src" like google's convertion.js page.

    Thanks,
    Mario Frade
    Lisbon, Portugal

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 15, 2011 at 12:30 PM

    Mario,

    I apologize for any inconvenience this new rule has caused you but please understand that what our developers and higher ups are concerned of is the security of this site and our users' forms and data. Just so you know, we recently had a security attack that resulted to forms disappearing left and right. That is the reason why we are very much weary of anything that might cause another incident like that previous attack.

    Anyway, I personally believe that your suggestion of allowing scripts from reliable sources such as Google Ad Services seems reasonable and justifiable. With that in mind, I have submitted a support ticket to notify our higher ups regarding your request. Please take note, however, that I cannot guarantee anything as it is up to them to decide upon this matter.

    You will be contacted as soon as this ticket gets to them. Thank you for your patience.


    Neil

  • Profile Image

    Answered by fradem on June 15, 2011 at 03:34 PM

    Thanks :)

  • Profile Image

    Answered by serkan on June 22, 2011 at 09:32 AM

    What exactly is this tracking code looks like? We can create a template tag like {GOOGLETRACK:UA-1170872-7} and it will automatically generate the tag you want.

    Please provide an example of the code.

    You can use https://gist.github.com/ to display your example.

  • Profile Image

    Answered by fradem on June 22, 2011 at 09:39 AM

    Here is the code:

    <!-- Google Code for LEAD Conversion Page -->

    <script type="text/javascript">

    /* <![CDATA[ */

    var google_conversion_id = 1021225130;

    var google_conversion_language = "pt";

    var google_conversion_format = "3";

    var google_conversion_color = "ffffff";

    var google_conversion_label = "_pcNCI7-1gIQqtH65gM";

    var google_conversion_value = 0;

    /* ]]> */

    </script>

    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">

    </script>

    <noscript>

    <div style="display:inline;">

    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1021225130/?label=_pcNCI7-1gIQqtH65gM&amp;guid=ON&amp;script=0"/>

    </div>

    </noscript>

     
  • Profile Image

    Answered by serkan on June 22, 2011 at 09:47 AM

    Actually,

    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1021225130/?label=_pcNCI7-1gIQqtH65gM&amp;guid=ON&amp;script=0"/>

    part was put in the code where you cannot use script codes. Have you tried that?

    Just put the image tag without the <noscript> tags around.

  • Profile Image

    Answered by fradem on June 22, 2011 at 09:54 AM

    Forget about that part.
    I just want the real conversion code to work on the page. It keeps getting automaticaly deleted because Jotform stopped alowing scripting on the Thank You Message page since June 3rd. I need to run THIS kind of scripting from trusted google adservices pages.

    <!-- Google Code for LEAD Conversion Page -->

    <script type="text/javascript">

    /* <![CDATA[ */

    var google_conversion_id = 1021225130;

    var google_conversion_language = "pt";

    var google_conversion_format = "3";

    var google_conversion_color = "ffffff";

    var google_conversion_label = "_pcNCI7-1gIQqtH65gM";

    var google_conversion_value = 0;

    /* ]]> */

    </script>

    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">

    </script>

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 24, 2011 at 03:35 AM

    Hi Fradem,

    I just realized now, upon seeing your tracking codes from Google Adwords that it does have a tracking pixel which does the same purpose as the script tracking codes.

    As mentioned by Serkan, these codes:

    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1021225130/?label=_pcNCI7-1gIQqtH65gM&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>

    were provided by Google as a back-up option for when JavaScript is not working (disabled) in the users' browser. The tracking pixel ( 1 x 1 image) tracks conversions the same way the script code does.

    As suggested by Serkan, placing the tracking pixel codes without the <noscript> tags in your Thank You message should do the trick.

    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1021225130/?label=_pcNCI7-1gIQqtH65gM&amp;guid=ON&amp;script=0"/>
    </div>


    Neil

  • Profile Image

    Answered by fradem on June 24, 2011 at 05:04 AM

    I just saw your answer.
    I didn't know that the pixel part would do the trick.

    Thanks for the info.

    Mario Frade
    Lisbon, Portugal

  • Profile Image

    Answered by bizstartup on September 08, 2011 at 09:27 AM

    Can you tell me where in the Thank You message the Adwords Conversion script must be pasted?

  • Profile Image

    Answered by allanftd on September 08, 2011 at 10:44 AM

    Hi bizstartup,

    Just open the Thank You Page Wizard and choose "Thank You Message." Then click the  button to go to the HTML Mode. Finally, paste the tracking pixel code in the text area as shown below and click Update.

     

    Please let us know if you have any other questions or concerns. 

    JOTFORM SUPPORT

  • Profile Image

    Answered by bizstartup on September 08, 2011 at 11:01 AM

    I'll try that - Thanks!

  • Profile Image

    Answered by bizstartup on September 08, 2011 at 11:37 AM

    Is this what it should look like?

     

    <p>&nbsp;</p>
    <div style="text-align: center;">
    <h1>Thank You!</h1>
    Your submission has been received.</div>
    <div style="display: inline;"><img style="border-style: none;" src="//www.googleadservices.com/pagead/conversion/1032930510/?label=xAh2CI6BqQIQzonF7AM&amp;guid=ON&amp;script=0" alt="" width="1" height="1" /></div>

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 08, 2011 at 12:46 PM

    Hi,

    You may paste the tracking pixel code anywhere in the thank you message's html source. What happens is when the user successfully submits the form, the tracking pixel is fired by the thank you message resulting to a conversion being added onto the specific Adwords campaign. It works exactly the same way as the complete tracking script codes.

    Kindly inform us if you have further questions on this matter or open a new thread if you have a new query not related to the topic at hand. Thank you for using JotForm!


    Neil

  • Profile Image

    Answered by chadnorman on September 23, 2011 at 01:36 PM

    Does anyone know if this solution actually worked?

  • Profile Image
    JotForm Support

    Answered by mliz on September 24, 2011 at 10:19 PM

    Hi chadnorman,

    Several JotForm users have been using this approach to use
    adwords with the form.  So far we have not recieve any
    complaints that it is not working.
    You can may try the solution as posted by Allan on your separae post and let
    us know if you encountered any problems and we'd look into it.

    Of course any feedback from other uses who used this setup are welcome
    to post their comments here.

    Regards,
    Mliz