Hacker News new | ask | show | jobs
by mluggy 1958 days ago
If someone hasn't stayed long enough to trigger GA, is it really a user? :)

Another option: only delay the scripts the first time user has landed on your page

I think the single script embed is a good path (much better than asking people to change DNS, remove scripts or such). Maybe you can optimize other areas using JS (like images).

1 comments

Philosophically it's a great question :) I'm not a marketer, but I'm pretty sure that if you'd ask one what they think about losing the ability to do remarketing for all the users who bounced within the first 10 seconds of their visit, they would tell you it's perhaps their most important audience.

We'd definitely be looking to optimizing other areas too, though honestly our approach was more to get rid of as much as client-side JS as possible. There are so many other tools that will help your do your first-party optimizations: images, caching, bundling, but we couldn't find anything that takes care of optimizing your third-party stack while keeping it 100% functional.