All Projects â†’ PlanBCom â†’ hubot-analytics

PlanBCom / hubot-analytics

Licence: other
📈 A hubot script to get google analytics reports

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
coffeescript
4710 projects

Projects that are alternatives of or similar to hubot-analytics

hubot-pager-me
PagerDuty integration for Hubot
Stars: ✭ 74 (+362.5%)
Mutual labels:  hubot, hubot-scripts
hubot-seen
A hubot script that tracks when/where users were last seen.
Stars: ✭ 25 (+56.25%)
Mutual labels:  hubot, hubot-scripts
hubot-group-alias
@mentions for groups using Hubot
Stars: ✭ 14 (-12.5%)
Mutual labels:  hubot, hubot-scripts
hubot-broadlink-rm
A hubot script to learn and send IR hex codes with Broadlink RM
Stars: ✭ 24 (+50%)
Mutual labels:  hubot, hubot-scripts
hubot-ansible
A hubot script for launching ansible commands
Stars: ✭ 14 (-12.5%)
Mutual labels:  hubot, hubot-scripts
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (+137.5%)
Mutual labels:  hubot, hubot-scripts
hubot-github-repo-event-notifier
Notifies about any GitHub repo event available via webhook.
Stars: ✭ 58 (+262.5%)
Mutual labels:  hubot, hubot-scripts
Hubot Matteruser
Hubot adapter for Mattermost using Web API and Websockets
Stars: ✭ 175 (+993.75%)
Mutual labels:  hubot
nextjs-google-analytics
Google Analytics for Next.js
Stars: ✭ 242 (+1412.5%)
Mutual labels:  google-analytics
Generator Hubot
Hubot generator for Yeoman
Stars: ✭ 150 (+837.5%)
Mutual labels:  hubot
Hubot Natural
Natural Language Processing Chatbot for RocketChat
Stars: ✭ 136 (+750%)
Mutual labels:  hubot
Pull Review
✅ Assign pull request reviewers intelligently.
Stars: ✭ 179 (+1018.75%)
Mutual labels:  hubot
shopify-gtm-ga
Enhances Google Analytics and integrates Google Tag Manager for Shopify.
Stars: ✭ 44 (+175%)
Mutual labels:  google-analytics
Hubot Telegram
Hubot adapter for Telegram
Stars: ✭ 152 (+850%)
Mutual labels:  hubot
privera
Use the tools you know. Respect users' privacy. Forget cookie consents. Comply with GDPR, ePrivacy, COPPA, CalOPPA, PECR, PIPEDA, CASL; you name it.
Stars: ✭ 23 (+43.75%)
Mutual labels:  google-analytics
Hubot Grafana
📈🤖 Query Grafana dashboards
Stars: ✭ 141 (+781.25%)
Mutual labels:  hubot
gatsby-plugin-gdpr-cookies
Gatsby plugin to add Google Analytics (V4 is supported), Google Tag Manager, Facebook Pixel, TikTok Pixel and Hotjar in a GDPR form to your site.
Stars: ✭ 88 (+450%)
Mutual labels:  google-analytics
php-analytics-event
Create a Google Analytics Event from PHP
Stars: ✭ 23 (+43.75%)
Mutual labels:  google-analytics
yii2-stat
Yii2 Multi Web Statistic Module (yametrika, google-analytic, own db-counter)
Stars: ✭ 18 (+12.5%)
Mutual labels:  google-analytics
ansible-hubot
💬 Ansible role for Hubot
Stars: ✭ 63 (+293.75%)
Mutual labels:  hubot

hubot-analytics

Build Status Codacy Badge

A hubot script to get google analytics reports

See src/analytics.js for full documentation.

Installation

In hubot project repo, run:

npm install hubot-analytics --save

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

[
  "hubot-analytics"
]

Configuration

  1. Create a [https://console.developers.google.com/project](google project)
  2. Enable "Analytics API" in your project (https://console.developers.google.com/apis/)
  3. Create a service account https://console.developers.google.com/permissions/serviceaccounts and download JSON with private key
  4. Configure the followings environments variables in your hubot server:
GOOGLE_API_PRIVATE_KEY - look for 'private_key' in JSON
GOOGLE_API_CLIENT_EMAIL - look for 'client_email' in JSON

Sample Interaction

Run analytics help for full list of commands

Shows profiles to which the bot has access and store in hubot brain

User> analytics profiles
SpikeBot> @User:
114783908 - Project X
123511123 - Site Plan B
128210353 - Hubot Chat

Shows pageviews and visits of website with "Site Name or ID"

User> analytics pageviews "Site Name or ID"
SpikeBot> @User: SiteName: 6346 visits and 12317 pageviews.

Get percentage mobile x desktop access of website with "Site Name or ID"

User> analytics devices "Site Name or ID"
SpikeBot> @User: desktop - 1450 sessions (21.75%)
mobile - 4903 sessions (73.54%)
tablet - 314 sessions (4.71%)

Get browsers percentage access with "Site Name or ID"

User> analytics browser "Site Name or ID"
SpikeBot> @User: Chrome - 3885 sessions (75.68%)
Firefox - 290 sessions (21%)
Internet Explorer - 115 sessions (3.32%)

Contributing

  1. Fork it (https://github.com/PlanBCom/hubot-analytics/fork).
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create a new Pull Request.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].