emptygif
Language: English

All languages and frameworks

HTML email tracking pixel HTML

A HTML snippet for HTML email tracking pixel that answers requests for /pixel.gif with the empty GIF, decoded once at startup.

HTML email tracking pixel HTML

File
email.html
<!-- Just before </body>. Mail clients block data: URIs, so point at your
     pixel endpoint; the query string identifies the message/recipient. -->
<img src="https://example.com/pixel.gif?m=MESSAGE_ID" width="1" height="1" alt=""
     style="display:block;width:1px;height:1px;border:0;">

Checked against the framework's current documentation.

Official site: HTML email tracking pixel

More in HTML