Web Beacon

A web beacon is a small image file — usually a transparent 1x1 pixel image — used for tracking purposes. It may be placed in a webpage or HTML email to record when the content was loaded.

How do web beacons work?

Each image referenced within a webpage is retrieved from a server. When the image is loaded, the server records a "hit," which is typically saved in the server log. A log file on the server can be used to determine when the specific image was accessed and also the IP address that accessed the file.

The filename of a web beacon may include a question mark (?) followed by an identifying string, such as: beacon.png?user1234. The web browser will ignore everything after the ".png" extension, but the entire string will be recorded as a hit by the web server. This information can be used to determine when a specific web beacon is accessed.

While any image can be used as a web beacon, small transparent GIFs or PNGs are common since they can be placed unobtrusively on a page. They may also be used by third-party tracking tools that are not accessed from the main web server. Examples include analytics code like Google Analytics and affiliate links provided by other companies. An affiliate link, for example, may include a web beacon before or after the link. The beacon allows the publisher to record the number of impressions (or number times the link is displayed), which is not possible with a plain text link.

Web beacons in email marketing

Web beacons are commonly used in email marketing to track the number of users who open and view emails. For instance, when you view a promotional email, a web beacon hidden in the email may record that you have opened it. This helps email marketers know which campaigns are effective. Unfortunately, email beacons may also be used for spam purposes, as they can record valid email addresses. For this reason, many email clients and webmail interfaces do not automatically load images in emails that are likely to be spam.

Updated October 4, 2017 by Per C.

quizTest Your Knowledge

What kind of server does a computer connect to using the SMTP protocol?

A mail server
A remote file server
An online game server
A database server
Correct! Incorrect!     View the SMTP definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Web Beacon on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.