• Fixed: Potential tracking data loss and browser console warnings by replacing the deprecated unload event with pagehide.