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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -