Skip to content

plugin behavior works on flush instead of event #123

@arlyxiao

Description

@arlyxiao

I have one plugin which wants to override the originalTimestamp
Suppose I will fire the three events:

// change timestamp = 100 in plugin
segment.track

// change timestamp = 101 in plugin
segment.group

// change timestamp = 102 in plugin
segment.screen

segment.flush

The final result would be all of events are using the latest timestamp = 102 after flush.
But the expect result from my requirement that I want to set each event has its timestamp which can be modified by plugin.

Is that possible?

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