Skip to content

mostafazh/hubot-google-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-google-analytics

A hubot script that queries Google Analytics Data

See src/google-analytics.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-google-analytics --save

Then add hubot-google-analytics to your external-scripts.json:

["hubot-google-analytics"]

Sample Interaction

user1>> pageviews list
hubot>> Profle 1 - http://www.example.com - 12345678
Profle 2 - http://test.example.com - 12345679
user1>> @hubot pageviews 12345678 yesterday
hubot>> From: 2015-03-03 To: 2015-03-03
1,234 visits and 2,345 pageviews.
user1>> @hubot pageviews 12345678 this year
hubot>> From: 2015-01-01 To: 2015-03-04
9,012 visits and 10,123 pageviews.

About

A hubot script that queries Google Analytics Data

Resources

Stars

Watchers

Forks

Packages

No packages published