
Email Tracking
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
oh a good demo um can you hear me yep um so I'm pretty boring demo this week but it has been a slog so I figured I'd just demo some of the email tracking stuff I've been working on uh throughout the last couple weeks on the side um going for some background uh AWS doesn't offer an out of the box solution for Email tracking uh and some third-party Solutions offer it uh are either too sketchy or too much of a lift to integrate with so I ended up just spiking on our own solution um so um for right now we're sending emails for invites invite requests and scheduled deliveries and as sort of stopping point due to the deprioritization of this work and other in
favor of all their projects uh we're just gonna log these email events as opposed to storing them for right now um so this without that looks like for now um we're currently tracking bounces clicks opens but you can also track other email events like complaints and rejections um for these open events that you see here we're inserting a tracking pixel into each email and for some of this click tracking stuff um SES is modifying each link in the body of the email first sending the recipient to an Amazon server then redirecting them to whatever their original destination was um So the plan now going forward whenever we plan to pick back up on this work is to store the unique IDs we get back from
each of these email sends to tie these emails to you know pending invites invite requests schedule jobs you know for the sake of our own reporting as well as providing a solid user experience for the users do we have strong thoughts over like storing data in a multi-tenant environment that we're going to publish back to customers or not I mean but like yeah sorry no I was just going to say uh I have been feeling like the system activity like product requirement is on the horizon yep I also do that like are you thinking that have we given thought to whether it's a a database replica that we're publishing data on or some sort of embedded app that we're serving out to our customers or
both um I mean I think the extent of my thinking there is we should obviously avoid like we shouldn't be pointing on the at the production Omnia database so we should avoid the obvious performance issues and maybe that's like a we have a secondary database that grabs all of this uh like behavioral information like Event Event data yeah I I think people really crave the event data sorry no no you're gonna um so yeah this setup is sort of um we kind of have to hook back in to the remix container and hit the internal API for the sake of updating the database just the nature of Email tracking that's how we kind of have to organize this given that um there's no out-of-box solution
so um yeah the the infrastructure now is you know we go from AWS SES to an SNS topic which is read from by a Lambda and then the Lambda is going to hit our internal API so it's not like we have some um external process or something that's that's uh publishing these results this is actually remix