Why Do Websites Use COOKIES? Let’s Find Out!

Sumit Mudliar
Electrik.AI
Published in
4 min readAug 14, 2023

When you’re surfing the internet, you might have heard about cookies. No, not the kind you munch on, but digital cookies that help websites remember things. These cookies have an important job in making your online experience better. So, let’s dig into why websites use them!

The Secret Helpers: How Cookies Track Your Moves

Cookies are like little helpers that websites use to remember who you are and what you like. Imagine going to an online store for shoes. Cookies are like your personal shoe assistants. They note down your shoe size, your favorite colors, and what you’ve looked at before. This way, the next time you visit, the store can show you shoes that you’re likely to love.

Making Your Life Easier: Cookies Keep You Logged In

You know how you don’t have to keep telling your computer your password every time you use it? Cookies help with that on websites. They keep you logged in, so you don’t have to keep typing your info. It’s like having a friend at the door who recognizes you and lets you in without asking for your name every time.

Your Digital Trail: How Cookies Shape Your Journey

Imagine cookies as breadcrumbs that you leave behind while exploring a forest. Websites follow these crumbs to understand what you’re interested in. This helps them show you things you might like. So, if you’re always looking up travel stuff, websites might show you cool travel deals or places to visit. It’s like they’re giving you a map to your interests!

First Party vs Third Party COOKIES: What’s the Difference?

When you’re on the internet, you might hear about two kinds of cookies: “first party” and “third party.” These cookies are like tiny helpers that websites and advertisers use to learn about you. Let’s find out what they do and how they’re different.

First Party COOKIES: The Website’s Friendly Helpers

Imagine you’re at a shop, and the shopkeeper remembers your favorite ice cream flavor. First party cookies do something similar on websites. They’re like little notes that the website keeps to remember things about you. These notes help the website make your visit better. They remember if you’ve been to the site before and what you like.

For example, when you go to a website and it already knows your name, that’s because of first party cookies. They’re like your digital friends, helping you feel at home on the website.

Third Party COOKIES: The Sneaky Trackers

Now, let’s talk about third party cookies. These cookies are a bit sneaky. They come from other companies, not the website you’re visiting. These companies want to know what you’re doing online. It’s like if a secret spy was following you at the park, watching which rides you go on.

These cookies watch where you go on the internet and what you look at. Then they tell advertisers, “Hey, this person likes shoes!” That’s why sometimes you see ads for things you were just looking at. Those are the third party cookies talking to advertisers.

1st Party vs 3rd Party Cookies

You’re in Control

The cool thing is, you have some control over these cookies. Just like you can lock the door to your room, you can tell your web browser what to do with cookies. You can ask it to block them or even throw them away.

First party cookies are usually harmless friends. They help websites remember you. Third party cookies, though, can be a bit nosy. They follow you around. If you don’t want them around, you can tell your browser to keep them away.

The Bottom Line

Cookies might sound tricky, but they’re like your digital buddies that help make the internet better for you. They remember your choices, help you stay logged in, and guide you to things you enjoy. So, the next time you’re clicking around the web and things feel just right, remember that cookies are the ones making it happen behind the scenes.

First party cookies are like helpful shopkeepers who make your visit nice. Third party cookies are more like secret spies that watch what you do. But remember, you’re the boss of your browser, and you can decide who gets to know about your online adventures.

Next time you’re online and see things that seem to know you really well, you can smile and think, “Oh, those are just the cookies doing their thing!”

--

--

Sumit Mudliar
Electrik.AI

Transforming ideas into reality through code. Driven by purpose, fueled by curiosity. Always learning and growing.