Skip to content
Google Analytics for Go
Go Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gago
gagocli -1 Aug 25, 2019
.Rhistory seperate out gago library Aug 4, 2019
.gitignore releases work locally Aug 23, 2019
.travis.yml add webassembly compilation to releases Aug 30, 2019
LICENSE
Makefile
README.md
config.yml
config_filter_segment.yml start making a filter and segment config test file Sep 27, 2019
coverage.txt
mark-edmondson-gde.json.enc travis —pro travis-ci/travis-ci#9668 Aug 22, 2019

README.md

gago

Google Analytics for Go

Build Status codecov Go Report Card

gago documentation on godoc.com

Mission

Create a CLI that will download GA multi-threaded, using anti-sampling, auto-paging etc. as developed with googleAnalyticsR::google_analytics()

Intended use case is for creating executables that can run on any machine without installing another program first, such as R or Python. This should give more options for running scheduled scripts etc.

Install

There is a Go library for use in your own Go projects, or a command line interface (CLI) for end users.

CLI

Find the latest binary for your system (Windows/MacOS/linux) in the release page

Download the binary of the appropriate type for your system and put it in your bin folder such as /usr/local/bin - rename it to gagocli and chmod to 755

e.g. on MacOS

curl -o gagocli https://github.com/MarkEdmondson1234/gago/releases/download/v0.1.0/gagocli-vlatest-darwin-amd64
# from folder where download is
mv gagocli /usr/local/bin/gagocli
sudo chmod 755 /usr/local/bin/gagocli

# should now be able to use via
gagocli

Read the CLI Readme for usage.

Go

Add the gago library to your Go project via go get github.com/MarkEdmondson1234/gago/gago

Read the gago library Readme for usage.

You can’t perform that action at this time.