Collecting data with Trackers and Webhooks

  1. Home
  2. Docs
  3. Collecting data with Trackers and Webhooks
  4. Trackers – collecting data from your own applications
  5. Golang Tracker
  6. Setup

Setup

Tracker compatibility

The Snowplow Golang Tracker has been built and tested using Golang versions 1.9.x, 1.10.x, 1.11.x, 1.12.x and 1.13.x.

3. Setup

The Tracker is hosted on Github and versions of the Tracker can be fetched using gopkg.

Note: As of version 2.2.1 you can also leverage go modules.

To get the package, execute:

$host go get gopkg.in/snowplow/snowplow-golang-tracker.v2/tracker OR $host go get github.com/snowplow/snowplow-golang-tracker/v2/tracker # When using modules
Code language: PHP (php)

To import the package, add the following line to your code:

import "gopkg.in/snowplow/snowplow-golang-tracker.v2/tracker" OR import "github.com/snowplow/snowplow-golang-tracker/v2/tracker" # When using modules
Code language: PHP (php)

The current version of the Snowplow Golang Tracker is 2.4.0.

If you’d like to learn more about Snowplow Insights you can book a demo with our team, or if you’d prefer, you can try Snowplow technology for yourself quickly and easily.