Support » Plugins » contactform7 and googleadwords tracking code

  • Hi

    I want to avoid creating a new “thank you page” on contact form, but need to track adwords conversions for my client. I have gleaned a certain amount of information from this thread but it doesn’t quite meet my needs.

    I see that I will have to pop a bit of extra code in the additional settings on contact form 7,, i.e. on_sent_ok: “Tracking();”

    And then set up a function Tracking(); in header.php which executes the tracking code once the conversion has taken place. The example in the thread above looks nothing like my Google adwords tracking code, and I am not sure how one would alter it to make mine execute. Here is the tracking code I have:

    <!– Google Code for Enquiry Conversion Page –> <script type=”text/javascript”>
    /* <![CDATA[ */
    var google_conversion_id = 1036632694;
    var google_conversion_language = “en”;
    var google_conversion_format = “2”;
    var google_conversion_color = “ffffff”;
    var google_conversion_label = “dqsJCKTCjggQ9oSn7gM”; var google_conversion_value = 0; var google_remarketing_only = false;
    /* ]]> */
    <script type=”text/javascript”
    <div style=”display:inline;”>
    <img height=”1″ width=”1″ style=”border-style:none;” alt=””

    I would be grateful for any advice! Thank you.

  • The topic ‘contactform7 and googleadwords tracking code’ is closed to new replies.