Arduinolitics : Google Analytics on Arduino

details

F403WAEHT2C27JJ_LARGE

He is 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 He is 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.

FJY50OPHT216GZ7_LARGE

Also handy will be the Tracking code for that property. Note however, the property does not seem to be required, He pointed his to a null.html just in case, however it does not seem to be needed, the events He is using here function independently.

google

The attached sketch is quite simple and just pings the Google servers with a tracking event approximately every 10 seconds.You might also need floatToString.h for double/floating point sensor values.

 

Source : http://www.instructables.com/id/-Arduinolitics-Google-Analytics-on-Arduino/?ALLSTEPS

COMMENTS

Please Login to comment
  Subscribe  
Notify of