Poppi Digital

React Google Analytics Form Abandonment

I recently spent some time trying to set up Form Abandonment Tracking with Google Analytics and React. How do you do this? Well MDN suggests some info about the onbeforeunload property of the WindowEventHandlers mixin is the event handler for processing beforeunload events. These events fire when a window is about to unload its resources. At this point, the document is still visible and the event is still cancelable.

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *