B
27

Found a dumb shortcut in Google Tag Manager that saved me an hour

I was setting up event tracking for a client's lead form and kept messing with custom HTML tags until I realized I could just use the built-in form listener variable. It automatically captures form ID and text without any extra code. Has anyone else skipped custom JavaScript by using native GTM triggers for something unexpected?
3 comments

Log in to join the discussion

Log In
3 Comments
the_linda
the_linda5d ago
Right, because who needs custom code when the thing you needed has been sitting there the whole time being useful. Classic GTM, hiding the good stuff until you've already wasted an hour.
3
the_xena
the_xena5d ago
Yep, wasted a whole afternoon once on something that was already built into the interface.
10
logan_ellis
Ngl Linda, that's why I always check the GTM gallery or built-in templates first now. Saved me so many times from writing custom JS for something that already exists.
2