analytics - How to Combine Event Tracking from Google & Bing w/ onSubmit -
i combine 2 onsubmit functions one. can please me figure out correct way this?
bing:
onsubmit="window.uetq = window.uetq || []; window.uetq.push({ 'ec':'section 1', 'ea':'form submission', 'el':'bing' });"
analytics:
onsubmit="ga('send', 'event', 'section 1', 'form submission', 'bing');"
i know cannot have onsubmit twice, not know best way trigger both of these in single onsubmit.
i keep both of these within <form>
line of code.
thanks!
onsubmit="window.uetq = window.uetq || []; window.uetq.push({ 'ec':'section 1', 'ea':'form submission', 'el':'bing' });ga('send', 'event', 'section 1', 'form submission', 'bing');"
Comments
Post a Comment