Playing Field: Advanced GTM Error

This demonstrate a bug with GTM form listener (preview with this link):

  • A simple form with a submit button named "submit"
  • If there's just a form listener, things are ok
  • However, if there's a tag firing on the gtm.formSubmit event, GTM gives a JS error: "TypeError: a.submit is not a function"
  • This is demonstrated through the use of a Form Listener tag, and a simple custom HTML tag just showing a message on the debug console.

Copyright Cardinal Path © 2014, All Rights Reserved. Privacy and Copyright Policies.