• Hi,

    I need to add this tracking code (please corrct me if its wrong) on every page of my custom website that has a form, so that I can track whenever someone clicks the form and fills out the info. I have no idea where I’m supposed to put it and how many times I have to input it.

    <input id=”contact-submit” class=”button” type=”submit” value=”Submit” onClick=”ga(‘send’, ‘event’, { eventCategory: ‘Appointment’, eventAction: ‘Form Submit’});”>

    My website is https://www.spineandposturecare.com.au

    Any help would be very much appreciated

    Thanks,
    Mark

Viewing 1 replies (of 1 total)
  • Are you using a plugin to create the forms? If so, you could probably find in the code for the plugin where it actually creates the form and add the input to the form output.

    If you created the forms by hand, then you’d have to just include it in each form is my guess.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding form tracking’ is closed to new replies.