[go: nahoru, domu]

Skip to content

chadsmith/glass-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Analytics for Google Glass

View your analytics on Google Glass.

##Prerequisites

  • Google Glass w/ access to Mirror API
  • Node.js and NPM

Installation

npm install or npm install express googleapis moment

Configuration

  • Create a new Google APIs Project
  • Enable the Google Mirror API
  • Enable the Google Analytics API
  • Create an OAuth 2.0 client ID for a web application
  • Enter your server's hostname and port in app.js
  • Enter your Mirror API credentials in app.js
  • Change UA-XXXXX-X to your site's ID in app.js
  • Add more lines of updateAnalytics('UA-XXXXX-X'); to track additional sites

Usage

node app or forever start app.js

  • Authorize the app by visiting http://hostname:port/ on your computer
  • View analytics in your Glass timeline

TODO

  • Perhaps a settings page to add profiles from the web?

About

Google Analytics via Google Glass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published