The tracking pixel is inserted into the HTML code of the email. When the recipient opens the email, the pixel triggers a request to the server hosting the image, thereby logging the open event. This method is not foolproof, as it relies on recipients enabling image loading in their email clients. Some users may have images disabled, which could lead to underreporting of open rates.