Can I run my website without using cookies? Part 1

Can I run my website without cookies? My experiment to see what I can do with less.
Web Hosting

Website cookies. They’re everywhere. You’d be hard-pressed to find a website that doesn’t set cookies. Although websites typically have to set a Session cookie, I got to thinking whether I could actually run my website without using cookies at all (aside from that Session cookie).

I’ve tried a few different things in my life just to see what it was like and to see if I could learn something. For example, I was a vegetarian for a few months many years ago. I didn’t decide to try it thinking I’d stick with it. Really, I just thought it’d be interesting to learn about it and to see what it was like. I hoped I’d learn something from it. I did learn something from it; after those few months, the way I shopped for food was different. What I found was, I didn’t actually need anywhere near the amount of meat I was used to buying. (I love meat too, so it surprised me).

I also tried eating only organic food and only buying food whose ingredients I could actually identify. Those few months were a little harder than being a vegetarian for a bit. In part that was because my food shopping took much longer. Unsurprising really, because I had to read the labels of everything I wanted to buy.

These little experiments are really about intentionality and the choices we make every day.

So what’s this about?

I was preparing for the GDPR, as many other people were. I’ve always held privacy as important. Preparing for the GDPR made me realise that we aren’t always that intentional when it comes to what cookies, say, certain WordPress plugins set. We’re more concerned with how that plugin might help us achieve our business goals.

So, I decided to try and go as cookieless as possible. I actually did this around a week before the GDPR came in, but I’ve only just now got around to writing about it.

I can’t say I won’t ever have anything on my website ever again that sets cookies. But, my hope is that by doing this experiment I’ll at least be more intentional and will think critically about what I actually need to run/monitor/use my website effectively before I go installing something or making any changes.

What cookies did I find my website actually sets?

The first thing I needed to do was to understand where my website sat on the cookie landscape before I made any changes.

I did a quick test with a Chrome Extension I’d found. I was quite surprised to find the number of cookies that were set. Below you can see the results of the quick test I did. I had some other Chrome tabs open at the time, so it registered a few cookies from the other sites but I’ve blocked those out.

A report I generated showing what cookies my website sets. It shows cookies from Google Analytics and from the social sharing plugin I was using.

Recently, I wrote a blog post about whether social media sharing buttons were needed, so I was aware the plugin I had been using for that was setting cookies. I also knew Google Analytics would set cookies as well.

Time to go cookieless!

Going cookieless was pretty straightforward. I uninstalled the plugin I had been using for my social sharing buttons (I was certain they weren’t providing me with enough benefit to warrant keeping them). That social sharing plugin was also being used to display a popup to assist with email subscription list signups. This little experiment made me think about what was necessary and I decided that I didn’t think the popups were providing anything good to the user experience (and the plugin would set a cookie for the popup to remember whether someone had chosen to close it etc.). I removed the Google Analytics tracking code which set cookies too.

Going cookieless was pretty easy. It was just a case of removing things. It’s easier than you think.

Am I going to use any alternatives? What about website analytics?

This would be the real challenge. I was confident I didn’t really need a plugin for popups and social sharing buttons. But what about website analytics?

Well, that’s partly why I’m doing this. I want to see whether I can tell how my website is doing without relying on something that will track visitors in an invasive way. I plan on making use of a few things:

  • Google Search Console (This will give me an idea of how many people are coming to my site organically)
  • Twitter analytics (I mainly use Twitter, and they already give me some basic stats on whether people are clicking on links I share)
  • Blog post comments (This one’s pretty simple. If people enjoyed my posts then at least some people will comment).

The idea is that I might not need insanely detailed analytics. After all, my main aim (aside from building great websites for my clients) is to provide articles on subjects I’m interested in that will provide value for my readers.

Yes, if people enjoy my articles then I should see my website traffic increase. I’ve got things like Google Search Console for that though, which doesn’t set cookies or collect personal data through my website.

There are aspects of Google Analytics that could still be helpful to me, such as figuring out whether visitors are staying on my site or clicking away. If need be, perhaps in future I’ll pay a small fee for actual user testing every now and then. It’d be a small price to pay for a more intentional use of cookies and the collection of personal data.

What’s next in this cookie experiment?

Here’s a screenshot from the same Chrome Extension showing the lack of cookies my website now sets.

This is a report on the cookies my website sets once I removed Google Analytics and the social sharing plugin. My website now only sets one session cookie which is necessary.

So what now? Well, I just need to continue what I’m doing. My plan is to write part two of this little experiment in a month or so and share my findings with you.

If you have any thoughts about going cookieless I’d love to hear about them in the comments below.

You care about your website's speed, right?

Quick disclaimer: I'm a SiteGround affiliate, and below are some affiliate links. If you click a link and make a purchase with SiteGround, I will receive a small commission from SiteGround. This doesn't cost you any extra, but it helps me keep the lights on. I only recommend SIteGround because I use them myself, recommend them to my web design clients, and personally know the quality of their products and service.

No one wants a slow loading website. I'm sure you're probably aware, but the quality of your website host is one of the biggest factors in your website's loading speed.

I host my own website with SiteGround for a couple of reasons (other than them being one of the WordPress recommended hosts):

  • The quality of their hosting (the speed of their servers and their security). They're one of the best in the industry.
  • Their support team is outstanding. On the rare occasion I've had a problem, or just had a question, they've been on hand incredibly quickly. Plus, they really know their stuff.

Click on the banner below, or follow this link to get a website hosting company who are a cut above the rest.

Web Hosting

By: Scott Cole

June 4, 2018 |

Here're some other posts you might find helpful!

This article shows you how to get the most out of UpdraftPlus for WordPress. How to backup WordPress using Updraft

How to backup WordPress using UpdraftPlus. That’s the aim of this little article. It’s in the name. UpdraftPlus is one of the plugins I will install on basically every WordPress website I create. There are other plugins, such as Yoast SEO, that are just are useful. I’ll probably write detailed “how to” articles on those […]

WordPress comment form and cookies - one small step towards an almost cookieless website

The WordPress comment form and Cookies. Privacy. Data Protection. These are topics that are at the forefront of people’s minds at the moment (and have been for some time over the last year). It’s for good reason too. We as internet users really should be mindful of what personal data we put out there and […]

5 genuine reasons to stop using social share buttons - This is what I found out about them

Should I use social share buttons on my blog? Or, should I STOP using social share buttons on my blog? It’s a question I’ve wondered about lately. I thought I’d share my findings with you. Hopefully, it’ll help you make a decision for your own website and whether you need those social share buttons. I’m […]

2 responses to “Can I run my website without using cookies? Part 1”

  1. Ano nym says:

    Hi Scott, is there a part 2? It has been a while, so quite interested in your results?

    • Scott Cole says:


      I’ve not published it yet, but I do have it mostly written. It’s been an interesting few months, not having the urge to look at Google Analytics data!

      I’m also in the process of redesigning and rebuilding this website, which is partly why it’s taking me a little extra time to write the second part as I also have client projects too 🙂 The articles will remain of course, but the site itself is in need of a full rebuild.

      I’m aiming to have the second part of this post written and up by the end of next week 🙂 Thanks for your interest!

Leave a Reply

Your email address will not be published. Required fields are marked *