Skip to content

Cannot specify userId on track events #262

Closed
@apuig

Description

@apuig

Is your feature request related to a problem? Please describe.
I would like to specify the userId without relaying on userInfo state.

In a test, using the java compatibility:

analytics.identify("user1", JsonObject with traits);
analytics.track("activity1", JsonObject with properties);

sometimes it generates a track event without userId, but regardless of this, I want to be able to send a track without a previous identify.

Describe the solution you'd like
Some signature to send a track event with the desired userId.

Describe alternatives you've considered
After checking Events.kt, looks like its not possible to customize this attribute.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions