{"id":363564,"date":"2022-02-21T08:19:44","date_gmt":"2022-02-21T16:19:44","guid":{"rendered":"https:\/\/css-tricks.com\/?post_type=newsletters&p=363564"},"modified":"2022-02-21T10:28:25","modified_gmt":"2022-02-21T18:28:25","slug":"291-the-ghostly-tale-of-the-phantom-bounces","status":"publish","type":"newsletters","link":"https:\/\/css-tricks.com\/newsletter\/291-the-ghostly-tale-of-the-phantom-bounces\/","title":{"rendered":"291: The Ghostly Tale of the Phantom Bounces"},"content":{"rendered":"\n
👻 👻 👻<\/p>\n\n\n\n
[Robin]:<\/strong> This week Simon Hearne wrote this mighty fine piece about web performance and survivorship bias<\/a>. His argument is this: we have a bunch of data about how our website is doing (and how poor the user experience is when it comes to performance) but often the data that\u2019s missing is the data we need the most. For example:<\/p>\n\n\n\n The users who have the worst experiences are likely to be phantom bounces<\/a>: they don\u2019t appear in your analytics or intelligence tools because they don\u2019t hang around long enough for the app to load and analytics to fire.<\/p><\/blockquote>\n\n\n\n I must\u2019ve been a phantom bouncer at least a dozen times myself just this week alone; tried to load a website, it was blank for too long, so I just quit my browser and went back to doing something else.<\/p>\n\n\n\n The problem here is that dev teams will often look at these stats and say, \u201cAh, we don\u2019t need to worry about performance on platform X because we don\u2019t get much traffic there,\u201d without them realizing that they might not be seeing all the data clearly (phantom bounces). But also, the traffic problems could be caused<\/em> by those performance problems. Simon writes:<\/p>\n\n\n\n It is clear that poor performance will impact your traffic numbers, and means that thousands of potential visitors are leaving your site without a trace. It is also clear that mobile visitors are less tolerant of slow sites.<\/p><\/blockquote>\n\n\n\n Scary! But reading this makes me want to be ruthless<\/em> when it comes to performance. No fonts! No colors! No text! I\u2019m kidding here of course but this is an extremely good reminder that web performance is not a feature you can tack-on<\/a>.<\/p>\n\n\n\n Ya know what this reminds me of though? Responsive design! Back in the day (and dear lord still too often today) I hear folks say stuff like, \u201cAh, we don\u2019t get much mobile traffic so we shouldn\u2019t make our big web app responsive.\u201d This is the same kind of logic with the same flaw in its thinking. We don\u2019t have much mobile traffic because<\/em> our website isn\u2019t responsive.<\/p>\n\n\n\n 📈 📈 📈<\/p>\n\n\n\n The Netlify Graph<\/a> was announced earlier this week and it looks extremely exciting. I need to set aside some time to play around with it but here\u2019s a quick video<\/a> that explains it all:<\/p>\n\n\n\n After adding APIs, you can use the new Graph Explorer to build queries and generate serverless function code. As you iterate, you can seamlessly sync changes to your local repository, where you can test them in the local Netlify environment before deploying.<\/p><\/blockquote>\n\n\n\n So: take an API, select the bits of code that you want, throw that into a serverless function, and then test locally on your website? That sounds neat as heck! I don\u2019t want to have to trawl through a bunch of docs when I\u2019m playing with an API \u2014 I sort of want to learn by doing. And this looks like that.<\/p>\n\n\n\n
\n\n\n\n