Draft version of sending tracking information when user leaves page