google-analytics alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view google-analytics alternatives based on common mentions on social networks and blogs.
-
aws-sdk-go
AWS SDK for the Go programming language (In Maintenance Mode, End-of-Life on 07/31/2025). The AWS SDK for Go v2 is available here: https://github.com/aws/aws-sdk-go-v2 -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells.
SaaSHub - Software Alternatives and Reviews
Do you think we are missing an alternative of google-analytics or a related project?
README
Google analytics Data pull
Lightweight Golang library for pulling Google Analytics API data. Built for use with Core Reporting API (v3):
https://developers.google.com/analytics/devguides/reporting/core/v3/reference
Install
go get github.com/chonthu/go-google-analytics
Authentication
In order to authenticate this library for use with your Google Analytics account, an oauth2 token needs to be generated. For a new project login to Google Developers Console and Create Project.
Add Analytics API to list of APIs, create a new "Installed" App Client ID and download it in JSON format.
Place the client_secret.json in the root of your application. Ps. you have to renaming it from the crazy name to just "client_secret.json"
Usage
See Examples here
Testing
Unit tests are included with this library, use go test ./...
to run through the set provided.
** This doesnt really work yet, but working on it **
Changelog
1.0.0
- cleaner naming
- clearner working examples
0.1.1:
- Implemented batch processing
- New request period segmentation functionality
- Cleaner error reporting and resolution suggestions
0.1.0:
- Initial release