Anyone can explain me why below works in Firefox but not in IE.
function bookingSubmit(myform) {
_gaq.push(['_linkByPost', myform, true]);
return true;
}
<form id="booking-form" action="https://myurl.com" method="get" onsubmit="return bookingSubmit(this);">
<input type="text" name="whatever"/>
<input type="submit" name="Send"/>
</form>
Thanks!
Might be a silly question, but where is the GA code that defines _gaq? Head, or body of your document?
I'm not 100% certain, but I think there is a bug affecting this method in IE when you pass in an argument to append the cookie values to the hash portion of a URI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With