I try to track when the user clicks the submit button of the form and they send contact information. I have this code on my contacts page:
<input type="submit" value="Send" class="btn big btn_submit_form" onClick="ga('send', 'event', { eventCategory: 'Contact', eventAction: 'Information Request', eventLabel: 'Contact Form'});">
I am using Universal Analytics.
In my Google Analytics account, I have a description of the goal Name as Contact Form Submit, and the Target Type is an event. The event conditions are as follows:
- Category -Equals to-Contact
- Action -Equals to- Request Information
- Label -Equals to-Contact Form
when the Value field remains empty.
I have "Use the value" Event "as the target value for the conversion," set to "Yes."
However, Google Analytics does not seem to be tracking the event. Any idea how to fix this?
Thank.