google-analytics

command module
v0.0.0-...-af023aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 3 Imported by: 0

README

Google Analytics OMG Microservice

Open Microservice Guide Build Status codecov

An OMG service for google analytics, It is web analytics service that allows you to analyze in-depth detail about the visitors on your website. It provides valuable insights that can help you to shape the success strategy of your business.

Direct usage in Storyscript:

Account List
google-analytics accountList
{"items": ["list"],"itemsPerPage": 1000,"kind": "kindResource","startIndex": 1,"totalResults": 1,"username": "accountUsername"}
WebProperties List
google-analytics webPropertiesList accountId:'accountId'
{"items": ["list"],"itemsPerPage": 1000,"kind": "kindResource","startIndex": 1,"totalResults": 1,"username": "accountUsername"}
Profile List
google-analytics profileList accountId:'accountId' webPropertyId:'webPropertyId'
{"items": ["list"],"itemsPerPage": 1000,"kind": "kindResource","startIndex": 1,"totalResults": 1,"username": "accountUsername"}
RealTime Data
google-analytics realtime profileId:'profileId'
{"columnHeaders": ["list"],"id": "idLink","kind": "analytics#realtimeData","profileInfo": {    "profileDetails"},"query": {"queryDetails"},"rows": ["rowCount"],"selfLink": "selfLink",  "totalResults": 100,"totalsForAllResults": {"totalsForAllResultsDetails"}}

Curious to learn more?

✨🍰✨

Usage with OMG CLI

Account List
$ omg run accountList -e KEY=<BASE64_DATA_OF_JSON_KEY_FILE>
WebProperties List
$ omg run webPropertiesList -a accountId=<ACCOUNT_ID> -e KEY=<BASE64_DATA_OF_JSON_KEY_FILE>
Profile List
$ omg run profileList -a accountId=<ACCOUNT_ID> -a webPropertyId=<WEBPROPERTY_ID> -e KEY=<BASE64_DATA_OF_JSON_KEY_FILE>
RealTime Data
$ omg run realtime -a profileId=<PROFILE_ID> -e KEY=<BASE64_DATA_OF_JSON_KEY_FILE>

Note: The OMG CLI requires Docker to be installed.

License

MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL