Amplitude-JavaScript icon indicating copy to clipboard operation
Amplitude-JavaScript copied to clipboard

logEventWithGroups with timstamp

Open scefali opened this issue 3 years ago • 2 comments

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.

scefali avatar Sep 28 '22 17:09 scefali

Thanks for sharing the idea!

As we are promoting our new SDK, and I think this should be supported in the new SDK:

The new SDK supports this with more flexibilities. Feel free to give it a try if interested.

liuyang1520 avatar Sep 29 '22 02:09 liuyang1520

@liuyang1520 Ah I didn't even know there was a newer SDK, thanks! Yes, I will look into investigating this.

scefali avatar Sep 29 '22 16:09 scefali