Capture data before send to the internet