Technology in terms you understand. Sign up for my weekly newsletter, "Confident Computing", for more solutions you can use to make your life easier. Click here.

How Did I Get Advertising About the Contents of an Email?

//

A few minutes ago I scanned a page on generators from a Harbor Freight catalog and sent it to my son using Gmail. A few minutes later I got an email from Harbor Freight — in Yahoo, via Thunderbird  — with this subject line: “You Can Rely on These Predator Generators on Sale Now.”

How does this happen? How does Harbor Freight know that I’m thinking about generators? Seems like there’s something on my computer monitoring my outgoing emails and alerting sellers to send me an ad on the item.

Or is it my son’s computer that’s doing it?

Either way, it’s creepy and something I’d like to stop.

I understand it feels creepy, but many aspects of what you describe represent the “cost” of free services like Gmail and Yahoo! Mail: advertising.

There’s not enough information for me to say exactly what happened, but I’ll describe some possibilities. There’s also one aspect of it I can’t explain at all.

Become a Patron of Ask Leo! and go ad-free!

Typing was probably involved

Even though you scanned a catalog page, I’m betting that you typed the words “Harbor Freight” and “generator” either as part of the email you sent or in some of your research.

Typed into a search engine, those words indicate your interest.

Typed into an email message — perhaps “Here’s a Harbor Freight page on generators” — it tells the email interface of your interest as well.

That both of these were likely Google makes this side of the equation easy to understand.

Targeted ads that follow you

We’ve all experienced this: perform a simple search for something and you start seeing ads for it, even on completely unrelated sites.

AdvertisingSimilarly, visiting an online retail site to research something can result in ads featuring that topic appearing seemingly everywhere.

What’s happened is that an advertising network has collected a tiny bit of information: the person using this computer might be interested in “X”.

When that same advertising network is used on other websites, and recognizes it’s getting a request from the same computer, it says, “The person using this computer was interested in X earlier, so let’s see if we have any ads for X — maybe they’re still interested.”

That you used Gmail, and perhaps also Google Search, means you probably told Google you’re interested in X — in your case, generators from Harbor Freight. Google runs one of the largest advertising networks on the internet, so it’s no surprise Google would show you related ads on any website that displays ads provided by Google …

… possibly including Yahoo! Mail.

Ads in email, sort of

I just took a look, and it appears that at least some of the ads in the Yahoo! Mail web interface are provided by none other than Google’s advertising services.

That means it’s entirely possible that your use of a Google service to research or discuss something could result in ads for that topic alongside your Yahoo! email.

Note that these aren’t email messages — they’re ads that appear alongside the email or elsewhere in the web-based email interface.

It’s about your computer, not you (mostly)

I chose the wording “the person using this computer might be interested in X” on purpose. What generally happens is that a cookie is left on your computer when an ad is displayed. The cookie allows the advertising network to provide similar ads to the same computer, regardless of what website you happen to be visiting.

While it’s possible to also track you, specifically, via the accounts you log in with (such as your Google account), such tracking is less likely at play in the scenario you outline. While Yahoo! Mail might use Google ads, they wouldn’t pay attention to the Google account you logged into earlier.

The fact that you’re using the same computer for all this is a common element across all the advertisements you see. Switch to a different computer and things may change.

It’s an inexact explanation

I say “may” change, because ad networks are certainly capable of using more than cookies. They may use something else — some other characteristic of your computer usage — to target ads. As a result, even switching computers might somehow result in advertisements following you, even though the cookies tracking you on the first computer can’t tell the second computer a thing.

Most commonly, it’s when you’re logged in to a common account across all machines. For example, I’m always logged into my Google account. I fully expect Google and its advertising services to present me with advertisements it feels are relevant to me, regardless of what machine I happen to use.

That’s why I say it’s impossible to say exactly what happened in your situation. It’s not that you haven’t provided enough information; it’s that you can’t. Understanding what techniques ad networks use in these scenarios calls for highly technical and complex analysis.

An unexplained piece of the puzzle

I can explain ads on web pages that seem to “follow” you.

I can’t explain getting email.

That after sending an email on a topic using one email service (Gmail) you then received an explicit advertisement for that topic, in email form, on another email service, doesn’t fit any scenario I’m aware of.

One thing missing from my explanations above is your email address: nowhere is it given to anyone. Websites cannot get your email address unless you explicitly give it to them. That means ads have no way to know where to send subsequent follow-up email.

So I don’t know what sequence of events led to your getting the targeted email.

Most often when folks bring scenarios like this to me, it turns out they have an account (with Harbor Freight, in your case), and were browsing the website earlier. That account means the company has your email address, and browsing their site certainly lets them know what you’re interested in. It’s quite possible they might elect to send you an email about the product you displayed interest in at the website.

What I don’t suspect

I don’t suspect malware.

It’s highly unlikely there’s something on your computer monitoring your email and using that to send you email. Most malware is significantly more direct or sneaky than that.

Of course, it’s always good to run a thorough and up-to-date anti-malware scan on your machine.

It’s possible this is simply coincidentally-timed spam — are you certain that the email came from Harbor Freight? — but all things considered, that would be so extremely coincidental as to be highly unlikely. Spam is typically more random and off-target than that.

Avoiding this altogether

If you want to completely avoid ads that seem to “follow you” in one form or another, the news isn’t good. Ultimately, the solution is to avoid the internet, and that’s not practical.

The reality is that internet advertising makes it possible for so much to be completely free. Advertising is the “cost” we pay for those free services. Advertisers use techniques to increase the likelihood of your clicking on an ad; that’s them doing their job. Knowing you might be interested in X and then showing you ads for X is nothing more than that.

Honestly, it doesn’t bother me one whit, and I feel that concerns about this type of tracking are generally overblown.

Certainly, you can use an adblocker. This will help somewhat, but because of the number of different techniques advertisers and websites use, it won’t be perfect.

You could become obsessive about clearing cookies. The internet will become a very unfriendly place if you do so, however, as many sites remember your log-in state or your preferences in cookies. Erase those, and you’ll find yourself logging in repeatedly as well as losing any preferences you set.

As I said, I can’t explain the email, but everything else is pretty much what I expect and simply choose to live with as part of the “price” of the free services we rely on.

Play

19 comments on “How Did I Get Advertising About the Contents of an Email?”

  1. “You could become obsessive about clearing cookies. The internet will become a very unfriendly place if you do so, however, as many sites remember your log-in state or your preferences in cookies. Erase those, and you’ll find yourself logging in repeatedly as well as losing any preferences you set.”

    A solution to that problem is to use a utility to erase cookies, such a CCleaner, that allows you to specify cookies to exclude from erasure,

  2. I have also noticed when sending an email using my Gmail account, if I include the words like: “doc attached” or “photo attached” or similar and then forget to attach the document, Gmail sends me the message “did you mean to attach something?” before sending my email. This can be very helpful but it means that Gmail must be reading every email to search for those words. What else is it recording as well?

    • I don’t consider this “reading” at all — it’s quickly scanning for a common keyword associated with attachments, and that’s all. I also don’t consider “reading” the same as “recording”, which I also don’t think is practical.

  3. How can I “unsync” my Galaxy cell phone from my Home PC. Why is it that when I search on my Cell phone and then use my Windows PC and do a Chrome search the history shows what I searched on my cell phone AND, I then noticed that whatever searches I do on my PC show up on my Cell phone History…?? It is creepy and I feel it is Google being “invasive”!
    By the way, I do not use my Google gmail. Instead I use the other email that works with MS Outlook which has more features and easier to use for me. Hope I have been clear here. Any help or insight is appreciated.

    • You are logged into Google, through Gmail, even if you don’t use it. Google is storing your searches on your phone to your Google account, which, in turn, is also logged into on your Home PC. To “unsync” these items, you will have to log out of Google on one or both devices. Then you will notice that neither device “sync” with the other. It is not creepy or “invasive”. It is just you being logged into *YOUR* account on both devices.

      • So correct. Using a Galaxy means you are using and Android phone which is an operating system developed by Google who (surprise, surprise) also developed and own Chrome browser. There is the common link.

        Want to stop the behaviour? Well you can change your browser on the PC for a start, but you might not wish to do that. So, instead of using google for searching try duckduckgo instead. Will it be perfect solution? No, but the amount of targeted junk from Google will drop dramatically. I can guarantee that…

        Sometimes I use google for a search and it is amazing how quickly the targeted ads start. Sometimes within 10 seconds. Now that’s pretty scary.

        Duckduckgo? I can’t recall the last time that I got a targeted ad from using it. Any ad that appeared to be a targeted one was probably just incredible coincidence.

  4. The oddest thing that has happened to me, and others through discussing this oddity, is that I have had ads targeting me for something I have never searched on-line for. I had stated to a co-worker on a drive that I was planning on proposing to my girlfriend and I was going to start looking for an engagement ring once I got into work. I had never sent an email, posted on Facebook, or did anything electronic on any device (phone, tablet, PC, etc) in regards to looking for engagement rings. When I got to work and started checking my email, I noticed that the ads I was receiving (on the sidebars) were for engagement rings. I was completely stunned. My co-worker stated that it happened to him too (looking for a chain saw). We both have Android phones. I believe that our phones, using Google technology, is listening to us like Alexa. My phone heard me discuss “engagement rings” and wanted to target ads to me about engagement rings. (I am logged into Google on both my phone and work computer). I am starting to believe that we don’t have any privacy left, and that we are being monitored 24/7/365. Call me paranoid, but it was the oddest thing.

  5. A common theme that I see often in discussions about ads and unwanted e-mail (spam) is Google. I have a Google account because I own an Android phone. And that was only to use the Google Play Store to install some security apps on the phone. Otherwise, I’ve avoided Google like the plague. I see almost no ads (I do use an ad blocker, except on trusted sites) and very little spam. I set up CCleaner to remove most cookies on my computer. And I don’t search with Google, either. Say what you will about Microsoft, at least they don’t seem to haunt users as much as Google.

  6. The question does not tell, how did he (I’m assuming he is the dad) go to the generator pages. Were they already familiar to him? Has he ordered anything from there before? Or registered for an email newsletter? If yes, that explains it all. The catalog page just picks up a cookie from his PC to record the new visit, and the company does advertizing based on this visit. It is the simply the same Amazon has done for years: They are connecting new visit information with existing client information, and the rest is history! I’ve been ordering stuff from Amazon for years. Every time I visit them to check for something, they send me an email on it and other similar items within a day. Also the contents of the weekly newsletter are adjusted according to my recent purchases and later visits. Hence I guess the question is just about “following” for the purpose of targeted advertizing, not about advertising itself.

  7. I use Privacy Badger from the EFF to help block a lot of tracking cookies etc. It detected six potential trackers on this page, for instance.

  8. Hello Leo,
    You explained it very well but what i am interested in is if its possible to get ads in you mail totally unrelated to the stuff you are interested in? For example i sometimes get ads for dating sites or dream vacation etc which has nothing to do with what i am interested in.
    Thank you.

  9. Hey Leo,

    okay how about this. For example i visited xx site and now i get ads in my email about xy site, which is a sister site to xx but has same owner. Is it possible to get ads about xy site just because i visited sister xx site?

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.