Golang tracker setup - OXYGEN-MARKET/oxygen-market.github.io GitHub Wiki
HOME > SNOWPLOW SETUP GUIDE > Step 2: setup a Tracker > Golang Tracker
The Snowplow Golang Tracker lets you add analytics to your Golang-based apps and servers.
Ready? Let's get started.
The Snowplow Golang Tracker has been built and tested using Golang versions 1.3, 1.4, 1.5 and 1.6.
The Tracker is hosted on Github and versions of the Tracker are fetched using gopkg.
To get the package, execute:
$host go get gopkg.in/snowplow/snowplow-golang-tracker.v1/tracker
To import the package, add the following line to your code:
import "gopkg.in/snowplow/snowplow-golang-tracker.v1/tracker"
The current version of the Snowplow Golang Tracker is 1.1.0.
Done? Now read the Golang Tracker API to start tracking events.