Heck of a year, eh? Like we do ever year, Iâ€™d like to give you a huge thanks for reading CSS-Tricks, and recap the year. More downs than ups, all told. Here at CSS-Tricks, it was more of a wash. Allow me to me share some numbers, milestones, and thoughts with you about our journey of 2020.
Letâ€™s do the basic numbers
The site saw 94m pageviews this year. Last year we lost a smidge of pageviews (from 91m to 90m), so itâ€™s nice to see that number go back up again, setting a new high record. Now I donâ€™t have to tell myself stories like â€œjeez usage of browser extensions that block Google Analytics must be up.â€� Hitting 100m pageviews will be a nice milestone some future year. This number, long term, climbs very slowly. Itâ€™s a good reminder to me how much time, money, and energy are required to just maintain the traffic to a content site, let alone attempt to drive growth.
I have Cloudflare in front of the site this year. I think thatâ€™s a good idea generally, but especially now that they have specific technology to make it extra good. Iâ€™m a fan of pushing as much to the edge as we can, and now itâ€™s not only static assets that are CDN-served but the content as well.
Traffic that comes from organic search was 77.7% this year, versus 80.6% last year. A 3% swing feels pretty large, yet almost entirely accounted for by a 3% swing from 9% to 12% in â€œdirectâ€� traffic. I have no idea what to make of that, but I suppose I donâ€™t mind a better diversification in sources.
I find these end-of-year looks at the numbers sorta fun, but Iâ€™m generally not a big analytics guy. Last year I wrote:
There is a bunch of numbers I just donâ€™t feel like looking at this year. Weâ€™ve traditionally done stuff like what countries people are from, what browsers they use (Chrome-dominant), mobile usage (weirdly low), and things like that. This year, I just donâ€™t care. This is a website. Itâ€™s for everyone in the world that cares to read it, in whatever country they are in and whatever browser they want to.
I feel even more apathetic toward generalized analytics numbers this year. I think analytics are awesome when you have a question in mind you want an answer to, where the numbers help find that answer. Or for numbers that are obviously important and impactful to your site that you determined for yourself. Just poking around at numbers can fool you into thinking youâ€™re gathering important insights and making considered decisions when youâ€™re kinda just picking your nose.
One question that does interest me is what the most popular content is by traffic (weâ€™ll get to that in a bit). Looking at the most popular content (by actual traffic) gives me a sense of what brings people here. Bringing traffic to the site is a goal. While we donâ€™t generally sell sponsorship/advertising based on page views directly, those numbers matter to sponsors and fairly correlate directly to what we can charge.
Another bit of data I care about is what people search for that bring them to the site. Hereâ€™s how that breaks down:
- Top 10: Various combinations of terms that have to do with flexbox and grid layout
- Mixed into the top 20: Various alterations of the siteâ€™s name
Top posts of the year
Thanks to Jacob, we can look at analytics data based on the year the content was written (and a few other bits of metadata).
Hereâ€™s an interesting thing. In 2019, articles written in 2019 generated about 6.3m page views. Those same articles, in 2020, generated 7.3m page views. Neat, huh? The articles drove more traffic as they aged.
Articles written in 2020 generated 12m pageviews. Hereâ€™s the top 10:
- CSS-Only Carousel
- Fluid Width Video (cheat, as this was written a few years ago as a stand-alone page, and I only moved it to the blog in 2020)
- A Complete Guide to Links and Buttons
- The Hooks of ReactÂ Router
- A Complete Guide to Dark Mode on theÂ Web
- Neumorphism and CSS
- A Complete Guide to DataÂ Attributes
- Front-End Challenges
Interesting backstory on that list. I dug into Google Analytics and created that Top 10 list based on the data it was showing me in a custom report, which Jacob taught me to do. Serendipitously, Jacob emailed me right after that to show me the Top 10 that he calculated, and it was slightly different than mine. Then I went back and re-ran my custom report, and it was slightly different than both the others. Weird! Jacob knew why. When youâ€™re looking at a huge dataset like this in Google Analytics, they will only sample the data used for the report. It will show you a â€œyellow badgeâ€� and tell you what percentage of the data the report is based on. 500,000 sessions is the max, which is only 0.7% of what we needed to look at. Thatâ€™s low enough that it accounted for the different lists. Jacob had already done some exporting and jiggering of the data to account for that, so the above list is whatâ€™s accurate to 100% of all sessions.
The top articles on the entire site from any year:
- The Complete Guide to Flexbox
- The Complete Guide to Grid
- Using SVG
- Perfect Full Page Background Images
- The Shapes of CSS
- Media Queries for Standard Devices
- Change Color of SVG on Hover
- CSS Triangle
- How to Scale SVG
- Using @font-face
Nothing from the Almanac made the top 10, but interestingly, right after that, the next 20 are so are heavily sprinkled with random articles from there. All told, the Almanac is about 14.8% of all traffic.
Two other things that I think are very cool that we did with content is:
- Published Jay Hoffmanâ€™s series on Web History, which include audio adaptations from Jeremy Keith that are served as a podcast.
- Published our end-of-year series like we did last year.
One of the many reasons I love being on WordPress is how easy it is to spin up series like these. All we did was toss up a category-specific template file and slapped on a little custom CSS. That gives the posts a cool landing page all to themselves, but are still part of the rest of the â€œflowâ€� of the site (RSS, search, tags, etc.).
Perhaps the slight increase in traffic was COVID-related? With more people turning to coding as a good option for working from home, maybe there are more people searching for coding help. Who knows.
What we definitely found was that nearly every sponsor we work with, understandably, tightened their belt. Add in advertising plans with us that were reduced or canceled and, as a rough estimate, Iâ€™d say weâ€™re down 25% in sponsorship revenue. That would be pretty devastating except for the fact that we try not to keep too many eggs in one basket.
Feels like a good time to mention that if your company is doing well and could benefit from reaching people who build websites, letâ€™s talk sponsorship.
Iâ€™m trying to diversify revenue somewhat, even on this site alone. For exampleâ€¦
Weâ€™ve been using WooCommerce here to sell a couple of things.
Posters, mainly. A literal physical bit of printed paper sent through the post to you. The posters are unique designs made from the incredible illustrations that Lynn Fisher created for the flexbox and grid guides. We essentially â€œdrop shipâ€� them, meaning they are printed and shipped on-demand by another company. So, you buy them from this site, but another company takes it from there and does all the rest of it. Thatâ€™s appealing because the amount of work is so low, but there are two major downsides: (1) Customer support for the orders becomes our problem and Iâ€™d say ~20% of orders need some kind of support, and (2) the profit margin is fairly slim compared to what it would be if we took on more of the work ourselves.
We also sell MVP Supporter memberships, which are great in that they donâ€™t require much ongoing work. The trick there is just making sure it is valuable enough for people to buy, which weâ€™ll have to work more on over time. For now, you basically get a book, video downloads, and no ads.
For being an MVP supporter of CSS-Tricks, you get: No ads, extra content, easier commenting, and extreme satisfaction for being cool.
$20.00 / year
Loose math, eCommerce made up 5% of the lost revenue. Long way to go there, but itâ€™s probably worth the journey as my guess is that this kind of revenue is less volatile.
Iâ€™m also still optimistic about Web Monetization in the long-term (hereâ€™s the last post I wrote on it). But right now, it is not a solution that makes for a significant new revenue stream. Optimistically, itâ€™s something like 0.05% of revenue.
As far a website traffic driver goes, social media isnâ€™t particularly huge at 2.2% of all traffic (down from 2.3% last year). Thatâ€™s about where it always is, whether or not we put much effort into it over the course of a year, which is exactly why I try not to spend energy there. What little effort we do expend, 95% of it is toward Twitter. We lean on Jetpackâ€™s social automation features, mostly. It is still cool to have @css as a handle, and we are closing in on half a million followers. Youâ€™d think that would be worth something. Weâ€™ll have to figure that out someday.
When we hand-write Tweets (rare), those are still the ones with the most potential. I only do that when it feels like something fun to do, because even though they can get the most engagement, the time/value thing still just doesnâ€™t make it worthwhile.
Example hand-written tweet
Most of our tweets are just auto-generated when a new post is published. And weâ€™ve been doing that for so long, I think thatâ€™s what the Twitter followers largely expect anyway, and thatâ€™s fine. We do have the ability to customize the Tweet before it goes out, which we try to, but usually donâ€™t.
Example Auto-Generated Tweet
The other 5% of effort is Instagram just because itâ€™s kinda fun. I donâ€™t even wanna think about trying to extract direct value from Instagram. Maybe if we had a lot more products for direct sale it would make sense. But for now, just random tips and stuff to hold an audience.
Example Instagram Post
I did 22 screencasts this year. Thatâ€™s a lot compared to the last many years! Iâ€™m not sure if Iâ€™ll be as ambitious in 2021, but I suspect I might be, because my setup at my desk is getting pretty good for doing them and my editing skills are slowly improving. I enjoy doing them, and itâ€™s an occasional income stream (my favorite being pairing up with someone from a company and digging into their technology together). Plus, we got that cool new intro for our videos done by dinaÂ Amin.
The screencasts are published on the site and to iTunes as a videocast, but the primary place people watch is YouTube. I guess we could consider YouTube â€œsocial mediaâ€� but I find that screencasts are more like â€œreal contentâ€� in a way that I donâ€™t with other social media. They are certainly much more time-consuming to produce and I hope more evergreen than a one-off tweet or something.
We hit 81,765 subscribers to the newsletter. On one hand, thatâ€™s a respectable number. On the other, itâ€™s far too low considering how gosh darn good it is! I was hoping weâ€™d hit 100k this year, but I didnâ€™t actually do all that much to encourage signups, so thatâ€™s on me. I donâ€™t think we missed a single week, so thatâ€™s a win, and considering we were at 65,000 last year, thatâ€™s still pretty good growth.
Yâ€™all left 4,322 comments on the site this year. Thatâ€™s down a touch from 4,710, but still decent averaging almost 12 a day.
I rollercoaster emotionally about comments. One day thinking they are too much trouble, requiring too much moderation and time to filter the junk. The vitriol can be so intense (on a site about code, wow) that some days I just wanna turn them off. Other times, Iâ€™m glad for the extra insight and corrections. Not to mention, hey, thatâ€™s content and content is good. Weâ€™ve never not had comments, so, hey, letâ€™s keep â€™em for now.
I absolutely always encourage your helpful, insightful, and kind comments, and promise to never publish rude or wrong comments (my call).
The forums completely shut down this year (into â€œread onlyâ€� mode), so commenting activity from that didnâ€™t exactly make its way over to the blog area. Closing the forums still feelsâ€¦ weird. I liked having a place to send (especially beginners) to ask questions. But, we just do not have the resources (or business model) to support safe and active forums. So closed they will remain, for now.
- 100k on email list.Â Fail on that one. That was kind of a moonshot anyway, and we never executed any sort of plan to help get there. For example, we could encourage it on social media more. We could attempt to buy ads elsewhere with a call to action to sign up. We could offer incentives to new subscribers somehow. We might do those things, or we might not. I donâ€™t feel strongly enough right now to make it a goal for next year.
- Two guides.Â We crushed this one. We published 9 guides. I consider this stuff our most valuable content. While I donâ€™t want to only do this kind of content (because I think itâ€™s fun to think of CSS-Tricks as a daily newspaper-style site as well), I want to put most of our effort here.
- Have an obvious focus on how-to referential technical content.Â I think we did pretty good here. Having this in mind all the time both for ourselves and for guest posts meant making sure we were showcasing how to use tech and less focus on things like guest editorials which are, unfortunately, our least useful content. Iâ€™d like to be even stricter on this going forward. Weâ€™re so far along in our journey on this site. The expectation people have is that this site has answers for their technical front-end questions, so there is no reason not to lean entirely into that.
- Get on Gutenberg.Â We also crushed it here. I think in the first month of the year I had us using Gutenberg on new content, and within a few months after that, we had Gutenberg enabled for all posts. It was work! And we still have a long way to go, as most posts on the site havenâ€™t been â€œconvertedâ€� into blocks, which is still not a brainless task. But, I consider it a fantastic success. I think Gutenberg is largely a damn pleasure to work with, making content authoring far more pleasurable, productive, and interesting.
- Three guides. I know we did nine this year, but the goal was only two. I actually have ideas for three more, so Iâ€™ll make three the goal. Related side goal: Iâ€™d like to try to make mini-books out of some of these guides and either sell them individually or make it part of the MVP Supporter subscription.
- Complete all missing Almanac entries. There are a good 15-20 Almanac articles that could exist that donâ€™t yet. Like we have
place-itemsin there, but not
place-self. Then there is esoteric stuff, like
:futuretime-dimensional pseudo-classes which, frankly, I donâ€™t even really understand but are a thing. If you wanna help, please reach out.
Thank you, again, for being a reader of this site. I hope these little peeks at our business somehow help yours. And I really hope 2021 is better than 2020, for all of us.