Google Adwords Tracking on forms

  • Profile Image
    corinth924
    Asked on November 17, 2014 at 02:23 PM

    You can see below what I am advised to do, but I am having difficulty knowing where/how to add this. Please advise. Thanks!

     

    From: Henry ----- [mailto:henry.------@google.com
    Sent: Friday, November 14, 2014 11:15 AM
    To: Kristen -------
    Subject: RE: Hello From Your Google AdWords Strategist!

     

    onClick="ga('send', 'event', { eventCategory: 'Quote', eventAction: 'Click'});"

     

  • Profile Image
    Mike_T
    Answered on November 17, 2014 at 03:03 PM

    It seems that the attached email body is stripped, so we can not check the email text.

    In case you need a tracking pixel on the Thank You page of your form, please follow the next support forum thread to find out information on this:

    Adding Adwords Conversion Tracking to the Thank You page

    If you need any further assistance, please let us know.

  • Profile Image
    corinth924
    Answered on November 17, 2014 at 03:14 PM

    I'm sorry, I guess I wasn't very clear. What they want is to add the included code to the "submit/contact" button on one of the forms so it's trackable by Adwords. The code, again, is this:

    onClick="ga('send', 'event', { eventCategory: 'Quote', eventAction: 'Click'});"

    Hopefully that clears it up. What do I need to do? Thanks.

     

  • Profile Image
    Mike_T
    Answered on November 17, 2014 at 04:28 PM

    You will need to use a form source code on your page to be able to add the custom javascript.

    Add you custom javascript to the button with 'form-submit-button' class, and use the modified code on your web page.

    Thank you.