It's so funny to me how particular developers are about testing and version control, then they give non-developers the ability to dump any old third party shit on the page. That's what Google Tag Manager lets happen.

https://front-end.social/@ksylor/110953466826485701

Katie Sylor-Miller (@[email protected])

If your marketing team has access to GTM with no audits or controls or engineering review and oversight over 3rd parties, then you probably send PII without knowing it too!

Front-End Social
Don't lecture me about test-driven development, your elaborate continuous integration pipeline, or the importance of strong typing when you're letting that shit go on under your watch, Computer Science Boy.
@heydon "Works on my machine" at scale.
@heydon Why do you want to remind me of this and make me scream on a beautiful Saturday Morning? I have been screaming about this to our infosec team for years.

@heydon real story. The marketing department complained to my team about the website performance. They'd GTm'd it to death. I used an analogy:

We're a team of chefs who carefully craft a beautiful dish. You're the waiter who splurges ketchup all over it as soon as it leaves the kitchen.

@heydon I should say, I had a good relationship with this marketing department (before and after my ketchup comment), and we worked with them to fix it.
@heydon At a previous job one of the marketing people accidentally used GTM to remove the checkout button. Took a few days to notice.
@tommyp @heydon we once added Hotjar to a Magento site via tag manager and it completely broke the checkout 🤣
@tommyp @heydon I hope that experiment concluded with solid reportable data on the KPI value of that button 🤣

@tommyp @heydon I once had a manager who added a snowfall effect script via GTM to an ecommerce website for Christmas.

He hadn't consulted the dev team - it just appeared one morning.

The performance was dreadful and the snow would build up when it landed, which meant all the payment buttons on small screens were soon buried under snowflakes.

You couldn't even click through them so there was no way for mobile users (the majority of our users) to buy anything.

@durbster @tommyp Holy shit, this is the best one yet!
@durbster @heydon Amazing. Who knew that a website could get snowed in. Absolutely incredible.
@heydon I found GTM very handy in a project where we could only deploy every six weeks to tape over all the bugs we discovered in-between deployments. 😅