Skip to content

Commit

Permalink
feat: use full location
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Mar 12, 2024
1 parent 5125125 commit 6246b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion measurementprotocol/v2/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func MiddlewarDocument(next ClientHandler) ClientHandler {
if referrer, err := url.Parse(r.Referer()); err != nil {
return err
} else {
location := referrer.RequestURI()
location := referrer.String()
event.DocumentLocation = &location
event.DocumentHostname = &referrer.Host
}
Expand Down

0 comments on commit 6246b38

Please sign in to comment.