Skip to content

Commit

Permalink
fix: session id
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Mar 12, 2024
1 parent 131c7f3 commit 0c0f3be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions measurementprotocol/v2/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ type (
host string
cookies []string
trackingID string
measurementID string
protocolVersion string
httpClient *http.Client
middlewares []ClientMiddleware
Expand Down Expand Up @@ -78,7 +77,7 @@ func NewClient(l *zap.Logger, host, trackingID string, opts ...ClientOption) *Cl
MiddlewarProtocolVersion("2"),
MiddlewarDebug,
MiddlewarClientID,
MiddlewarSessionID(inst.measurementID),
MiddlewarSessionID(inst.trackingID),
MiddlewarDocument,
)
return inst
Expand Down

0 comments on commit 0c0f3be

Please sign in to comment.