Google Analytics OMG Microservice
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.
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?
✨🍰✨
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.