October 31, 2026
What Websites Actually Know About You: Decoding Cookies, Logs, and Device Info
Have you ever typed a random search query into Google — say, “how to cure indoor plant root rot” — only to find your entire digital…
By Anochiwa Alfred
2 min read
Have you ever typed a random search query into Google — say, "how to cure indoor plant root rot" — only to find your entire digital existence invaded by targeted ads for artisanal potting soil five minutes later?
It feels almost psychic. Like the internet has locked eyes with you, whispering, "I know what you did on Tuesday."
In reality, it's not magic. It's math, memory, and a trio of digital breadcrumbs that websites use to make sense of who you are, what you're doing, and what kind of screen you're staring at.
Let's pull back the curtain on the three main actors behind this digital choreography: Cookies, Activity Logs, and Device Information.
The Barista Who Remembers Your Order (Cookies)
Imagine walking into your favorite local coffee shop every morning. If the barista had severe short-term memory loss, you'd have to explain that you're lactose intolerant, prefer oat milk, and want two pumps of vanilla every single time. Exhausting, right?
Cookies are the web's way of solving this memory glitch. Technically speaking, a cookie is a tiny text file stored locally on your browser by a website. When you log into a platform, a cookie is dropped onto your device. On every subsequent click, your browser politely slides that cookie back across the counter so the server says, "Ah, welcome back, Sarah!"
Without them, you'd have to log in, re-enter your password, and reset your theme preferences on literally every single page click. They aren't inherently evil, they're just digital sticky notes.
The Meticulous Security Guard (Activity Logs)
While cookies live on your device, Activity Logs live securely on the server side.
If cookies are your personal shopping list, logs are the security camera footage and guest book at the hotel front desk. Every time a browser requests a page or an API endpoint, the server records it:
- User X requested
/dashboardat 10:42 PM. - User Y tried to log in with a wrong password five times.
For developers, logs are the holy grail of debugging. They are the objective truth of what happened when an application crashed. For users, they form an audit trail of your digital journey across a platform.
The Tailor Measuring Your Suit (Device Information)
Have you ever wondered why a website doesn't look completely squished or stretched out whether you open it on a tiny smartphone screen or a massive 32-inch curved monitor?
That's because your browser introduces you to the website via Device Information.
The moment you connect, your browser broadcasts a set of data known as headers (including the famous User-Agent string). It casually tells the server: "Hey, just letting you know I'm running Safari on an M2 MacBook Pro, my screen resolution is 2560x1600, and my IP address is coming from Lagos."
The website uses this intel instantly to adjust layouts, load mobile-friendly assets, or flag suspicious login attempts originating from a foreign country.
The Takeaway
Our digital footprint is built on these tiny, unglamorous data exchanges. They keep our sessions active, our apps bug-free, and our interfaces responsive.
The next time a pair of shoes follows you across the internet, you'll know it's not a ghost in the machine, just a cookie doing its job, a log tracking the path, and a browser introducing your device to the world.
If you enjoyed this breakdown, give it a clap and share your thoughts on digital privacy below!