Amplitude-JavaScript
Amplitude-JavaScript copied to clipboard
logEventWithGroups with timstamp
Summary
I would like the logEventWithGroups API to accept an optional timstamp.
Motivations
The reason for this request is that I want to pass a timestamp while using logEventWithGroups. I can use setGroup followed by logEventWithTimestamp but then I get an extra $identify event which seems unnecessary.
Thanks for sharing the idea!
As we are promoting our new SDK, and I think this should be supported in the new SDK:
- check implementation
- check doc
The new SDK supports this with more flexibilities. Feel free to give it a try if interested.
@liuyang1520 Ah I didn't even know there was a newer SDK, thanks! Yes, I will look into investigating this.