Skip to content

Plot with Google Analytics

Koji Ishimoto edited this page Apr 7, 2015 · 3 revisions

GAER allows you to store your data object and monitor the data history using Measurement Protocol.

$ gaer -t UA-xxxxx-xx -r reportName path/to/data.json
  Sending [||||||||||||||||||||||||] 100%
  Success: The data is sent to UA-xxxxx-xx

Install

npm install -g gaer

Integrate

stylestats -f json -n path/to/css/file.css | gaer -t UA-xxxxxxx-x -r ReportName
Clone this wiki locally