I've been working on open tracking by attaching tracking pixel to an email. The first problem I encountered was marking email as read just it was sent. I found help here: False open trackings using SES and gmail where I found link to the article describing how to prevent triggering opens by Gmail bot by checking user agent. I also read some articles about caching images by Gmail but unfortunately I'm still dealing with some problems.
I did the following test in Chrome, Firefox, Edge and Safari:
- I sent an email via application that I've been working on and then opened it in Gmail web client.
- Then I went to the application to see open tracking statistics.
- I repeated above test twice to make sure every time I get the same result.
- With the last email I checked what is happening with subsequent opens of the same email.
Here are my observations:
In every browser except Firefox when I open email for the first timean extra open is being made so I see 2 opens in the statistics. InFirefox only 1 open is numbered.
On subsequent opens only 1 open is being added to the total opens
statistics every time I open the email. The exception is also Firefoxwhere total opens counter is not changing. No matter how many times Iopen the email the total opens count is equal 1.
Is there any solution how to make reliable open tracking in every browser when email is opened in Gmail?