If you already have a network enabled Arduino and Google Analytics account, that you know how to use you can skip ahead to Step 1 and start setting up.
I'm using an EtherMega and there are a cornucopia of networked Arduinos to choose from, otherwise if you need to connect an ethernet shield or wifi shield I'm sure you'll find some way to figure that out.
A Google Analytics account with at least one property set up with Universal Analytics enabled will be handy here. Mine was by default, but your mileage may vary.
Also handy will be the Tracking code for that property. Note however, the property does not seem to be required, I pointed mine to a null.html just in case, however it does not seem to be needed, the events I'm using here function independently.
If you wish to you can leave my tracking code in as I love data, please send your data to me. I'll see if I can make a report for it public somehow. :D
I do however, recommend using your own tracking codes and categories after saying hi to ArduinoNet (It's kind of like SkyNet but friendlier, and hosted on MySQL).
The real fun is watching realtime hits on the live events viewer and basking in the glory of subverting a user tracking system and putting it to real use!
OK, so we've got network connectivity and our accounts sorted, lets upload.