anolog0
Honestly, ignoring that entirely, I don't see why we would have to measure attention span through a metric like duration spent on websites. Is it really so hard to measure it just by giving people a task and paying attention to when their focus shifts from it? And, supposing people are generally just as good at sitting down and doing a task as they were 20 years ago (so long as they don't get interrupted by their phones), is there something else people mean when they talk about attention spans getting worse?
Even in this article, the author just takes some statements from neuroscientists and a study on context-switching in order to make a bunch of unfounded conjecture.
For me, I tried meditation at one point for at least 30 minutes a day for two months, and I can honestly say that it didn't seem to do anything for me. Focusing on my breath did not give me self-insights, it did not relax my anxiety, and it did not help me solve my problems.
Talk therapy has been useful although it still never solved my problems.
I'm hesitant to say any one thing is responsible for causing change in me, but one thing that has unquestionably helped is a type of self-therapy called Focusing. It's similar to meditation, but instead of focusing on your breath, it's an ordered process of focusing on your feelings. It has been the source of actual insights into why I feel and behave in certain ways. I think it's a lot closer to what people are looking for from meditation—meditation might give you insights into how your brain works, but it's not designed to give you insights into your real and troubling thoughts and emotions.
Here's the website if you want to look into it https://focusing.org/sixsteps