What I want to do, ultimately: Add a Google Analytics event code to the mailing list signup form. In order to track goals.
Google Analytics says I can add an event to a form’s submit button.
Google Analytics JS code (from here):
onSubmit="pageTracker._trackEvent('Goals','MailingListSignup');"In order to do that, I need to get deeper access to the form that’s generated by exp:mailinglist:form
The result would look something like this:
<form id='mailinglist_form' method="post" action="http://my.site.url/" onSubmit="[INSERT ANALYTICS SNIPPET HERE]" >How do I do that in EE?
If I cannot do that in EE, does anyone know of another way to meet my ultimate aim of having Analytics GOALS track mailing list signups?