snowplow / snowplow-golang-tracker

Snowplow event tracker for Golang. Add analytics to your Go apps and servers
http://snowplowanalytics.com
Apache License 2.0
25 stars 14 forks source link

Add ability to set Subject per event #50

Closed paulboocock closed 3 years ago

paulboocock commented 3 years ago

Is your feature request related to a problem? Please describe. The Subject is currently only set when the Tracker is initialised. This means, it is impossible to update the Subject safely for a specific event, if one event shouldn't use the same user information that has been set at the Tracker level.

Describe the solution you'd like Allow a Subject to be set when tracking an event

Describe alternatives you've considered Creating multiple Tracker instances with the same Emitter. This is a bit of a crazy workaround and is in no way a clean solution to the issue.