How can I add Google Adwords Tracking Code into Jotform Thank You page?

  • Profile Image
    OSIM.Malaysia
    Asked on July 18, 2016 at 08:46 PM

    Hi JotForm,

    I'm advertising my RSVP form using Google Adwords and I need to insert the tracking code into Thank You Page. I tried to do this within HTML mode in Thank You Page, pasted the code but Google can't verify the code.

    Attached print screen, can you please advise asap? You can test this form by submitting and review the thank you page, the form is no longer being used publicly.

     

    Thank you.

  • Profile Image
    Chriistian
    Answered on July 18, 2016 at 11:37 PM

    Script tags are not allowed in the Thank You page of the form, which may be why the tracking pixel isn't working. To resolve this, please remove the noscript part of the code on your thank you page as highlighted in the example below:

    <noscript>

    <div style="display:inline;">

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

    </div>

    </noscript>

    If the issue persists, please let us know.

  • Profile Image
    houls3
    Answered on October 05, 2016 at 05:48 PM

    This is the code I am trying to embed into either the JotForm Thank you page OR a newly created form I am using as a Thank You page. 

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

    <script type="text/javascript">

    /* <![CDATA[ */

    var google_conversion_id = 871924941;

    var google_conversion_language = "en";

    var google_conversion_format = "3";

    var google_conversion_color = "ffffff";

    var google_conversion_label = "4IqNCLy9y2oQzYninwM";

    var google_remarketing_only = false;

    /* ]]> */

    </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/871924941/?label=4IqNCLy9y2oQzYninwM&amp;guid=ON&amp;script=0"/>

    </div>

     

    </noscript>

     

    Would I too need to remove the <script> AND </noscript> tags in this code. COuld you please HIGHLIGHT that which I need to remove to make this work? Thank you.

     

     

  • Profile Image
    Chriistian
    Answered on October 05, 2016 at 09:36 PM

    Yes, you would need to remove the <script> and <noscript> code, since these are not allowed in the Thank you page. Per your request, I have highlighted the code that you need to remove to make the tracking work on your Thank You page.

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

    <script type="text/javascript">

    /* <![CDATA[ */

    var google_conversion_id = 871924941;

    var google_conversion_language = "en";

    var google_conversion_format = "3";

    var google_conversion_color = "ffffff";

    var google_conversion_label = "4IqNCLy9y2oQzYninwM";

    var google_remarketing_only = false;

    /* ]]> */

    </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/871924941/?label=4IqNCLy9y2oQzYninwM&amp;guid=ON&amp;script=0"/>

    </div>

    </noscript>

    Please let us know if you need further assistance.
    Regards.