Which one of these 3 options is most suitable for adding a 1x1 tracking pixel (aka web bug or web beacon) to HTML email:
<img src="TRACKING-PIXEL-URL-GOES-HERE" style="position:absolute; visibility:hidden">
<img src="TRACKING-PIXEL-URL-GOES-HERE" style="display:none">
<img src="TRACKING-PIXEL-URL-GOES-HERE" width="0" height="0">
The image itself is a transparent 1x1 GIF.
Please note this is not for a web page, this is for HTML email with its ill-defined CSS support.
You can add a tracking pixel to your email in one of two ways. Either use a sales and marketing email tool that allows you to view open rates, replies, and link clicks. Or, manually add one yourself by pasting a tracking pixel code just before the </body> tag in the email's code.
To track emails from the Contact's page in Classic hover over the HTML Email Status link at the top of the page. To track emails from the Contact's page in Lightning look for a "last opened" or "unopened" message under the Past Activities section on the right side of the page.
Like Ugly Email, tracking pixels are blocked, and emails that contain them will be marked with a small T icon in the subject header when you open the message. You can also identify tracked links inside messages, and block them if necessary.
I'd suggest just using a transparent image and a normal image tag - This is how Litmus does it:
<img src="..." width="1" height="1" border="0" />
This is how Campaign Monitor does it:
<img src="..." style="height:1px !important; width:1px !important; border: 0 !important; margin: 0 !important; padding: 0 !important" width="1" height="1" border="0">
Two very trusted sources, so either of those 2 options would definitely suffice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With