Similar to the last post but this one is just showing a little bit of the code that was sending the data to the server.
If it's hard to see the code in the video, I've pasted the relevant Javascript below.