I've checked a number of the other forum topics on this but haven't been able to find an answer for my question. I'm trying to add onclick event tracking for Google analytics and when I edited the function.php of my site it threw a parse syntax error.
Because my theme includes a specific html header/footer area, that is where the Google Analytics code lives, so I tried adding the event tracking code to the same area. That simply tracked everyone who saw the button, rather than just those who actually clicked the button.
I've spent a number of hours trying to figure out how to add this code to the button on a Gravity form, is there something I'm missing? Where can I edit the code related to the submit button? The form I'm referring to lives in the footer of every page: http://www.conroymediagroup.com/.