PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Integrating with Google Adwords for Conversion Tracking

  1. aspirant
    Member

    We have your basic gravity form plugin installed on our website (www.evxp.com) under the Drive tab. We want to integrate Google Analytics into this form so that we can track conversions from our Google Ads. They need us to paste the following code, but given that you are an AJAX plugin, I am not sure how to integrate the following:

    [html]
    <!-- Google Code for Drive Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 955502823;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "tQVpCJmOiwMQ56HPxwM";
    var google_conversion_value = 0;
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/955502823/?label=tQVpCJmOiwMQ56HPxwM&guid=ON&script=0"/>
    </div>
    </noscript>

    Thank you for your help in this matter.

    Posted 12 years ago on Wednesday October 26, 2011 | Permalink
  2. Hi aspirant,

    You might consider simply adding this to an HTML field on the form. This would also load this every time the person submits the form via ajax.

    Posted 12 years ago on Wednesday October 26, 2011 | Permalink