Live data from Hacker News

Ad block shouldn't break your checkout

ilakovac.com

1–10 of 204 posts

Re: Ad block shouldn't break your checkout

#5
post #3
post #2

LOL, article is hidden when uBlock is active. Way to go!

Hey, not sure what you mean :) I use uBlock Origin in Chrome and the article renders okay for me? The site doesn't really use any JS other then some privacy friendly analytics.

Ah well, I blocked all JS for your domain, that worked.

The article was collapsing when I had uBlock on FFx, I only saw your bottom (C)opyright.

Re: Ad block shouldn't break your checkout

#6
TBH I don't see this as a TeeSpring problem - the code on their page guards against a realistic scenario (the GA script fails to load), but the "break" is caused by uBlock's changes.

The article's title is correct: ad block shouldn't break checkout. Injecting a bogus value into a global breaks checkout, so ad block shouldn't do that.

Re: Ad block shouldn't break your checkout

#8

Is the issue that the store built a checkout dependency on google analytics to force people to disable uBlock or attempt to force uBlock to allow google analytics for this domain?

I believe that it was an unintentional mistake on TeeSpring's end.

Searching for the dummy function uBlock Origin uses for window.ga https://github.com/gorhill/uBlock/blob/master/src/web_access...

This reveals that this has been in uBlock Origin since 2019.

Re: Ad block shouldn't break your checkout

#9
post #6

TBH I don't see this as a TeeSpring problem - the code on their page guards against a realistic scenario (the GA script fails to load), but the "break" is caused by uBlock's changes. The article's title is correct: ad block shouldn't break checkout. Injecting a bogus value into a global breaks checkout, so ad block shouldn't do that.

I agree with that, though if I'm TeeSpring, I'd fix it anyway. It's silly to throw out incoming business. I assume the same thing would happen if there were a brief GA outage.

Re: Ad block shouldn't break your checkout

#10
I’ve been running into this sort of thing more and more and more. It’s crazy how many page rely on some kind of google tag manager event before they’ll load the real content or perform the main function of the page.

Don’t all developers have ad blockers (clearly not)? I understand managers not testing for this, but for my own work it’d never load for me as a Dev, even.

Post reply on HN