Given that we can add a Google Analytics tracker to form submissions like so:
on_sent_ok: "_gaq.push(['_trackEvent', 'Category', 'Action']);"
and even add other options like opt_label, opt_value like so:
_trackEvent(category, action, opt_label, opt_value, opt_noninteraction)
I need to verify what is the correct way to pass a variable (dynamic value) to opt_label from a select input (dropdown) of the form?
- The topic ‘Passing a variable to the opt_label of Google analytics _trackEvent’ is closed to new replies.