~evanj/evanjon.es

c6045df8b134841c269343c4bbdebfa94e21865f — Evan M Jones 3 months ago f128562
Fix(segment): Tweaked integration. Deployed.
2 files changed, 2 insertions(+), 2 deletions(-)

M main.go
M track/track.go
M main.go => main.go +1 -1
@@ 1,4 1,4 @@
package handler
package main

import (
	"fmt"

M track/track.go => track/track.go +1 -1
@@ 31,7 31,7 @@ func (t Track) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	defer client.Close()
	client.Enqueue(analytics.Page{
		UserId:    userId,
		Name:      string(pageView),
		Name:      r.URL.Path,
		Timestamp: time.Now(),
		Properties: analytics.NewProperties().
			Set("Path", r.URL.Path).