Reliably Send an HTTP Request as a User Leaves a Page

On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to an external service when a link is clicked: There’s nothing terribly complicated going on here. … Continue reading Reliably Send an HTTP Request as a User Leaves a Page