Commit c6045df8 authored by Evan M Jones's avatar Evan M Jones

Fix(segment): Tweaked integration. Deployed.

parent f128562a
package handler
package main
import (
......@@ -31,7 +31,7 @@ func (t Track) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer client.Close()
UserId: userId,
Name: string(pageView),
Name: r.URL.Path,
Timestamp: time.Now(),
Properties: analytics.NewProperties().
Set("Path", r.URL.Path).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment