• I need to know how to integrate the Adwords conversion script into this plug-in following the successful submission of the form. Any provide direction where the Google script needs to be add?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Cathy Mitchell

    (@multitalentedmommy)

    You want to display ads in the “success” page?

    I don’t know what the Adwords conversion script looks like, but maybe you can use on_sent_ok hook for it. on_sent_ok hook is described here:
    https://ideasilo.wordpress.com/2009/05/31/contact-form-7-1-10/

    Thread Starter rjdouganwordpress

    (@rjdouganwordpress)

    Here is what I have placed in the addtional setting area:

    on_sent_ok:<script type="text/javascript">
    <!--
    var google_conversion_id = 1030254689;
    var google_conversion_language = "en_US";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "kUxiCMPSlAEQl-Cgth56";
    //-->
    </script>
    <script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1030254689/?label=kUxiCMPSlAEQl-Cgth56&guid=ON&script=0"/>
    </div>
    </noscript>

    I have testing sending messages and they work. However, I don’t get the on-screen confirmation that the message was sent.

    Any suggestions?

    Thanks…..

    What I did was added a Redirect in WordPress to a Thank you page after a successful message:

    on_sent_ok: “location.replace(‘/thankyou’);”

    Then I placed the tracking code on the Thank You page, where you can also add your personal message, etc.

    Best of luck.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Contact Form 7 – Adword Conversion Script Integration’ is closed to new replies.