I receive a webhook message.opened immediately after sending an email with tracking

There is odd behaviour with message tracking this related due to:

  • CDNs cache the image pixel across multiple proxies resulting in multiple reads.
  • Gmail caches the images the moment they receive them, returning in message.opened webhook.
  • Opening one email can trigger all the other emails stored by that provider to also trigger
  • This can also result in multiple message.opened, message.link_clicked webhooks being recorded

To get around this this it is advised that you disregard immediate responses and store the objects in a SET to eliminate duplicates. Please note that tracking is becoming harder as browsers and providers harden privacy.

Resources:

https://developer.nylas.com/docs/support/troubleshooting/immediate-webhook-notification/ 

Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.