I’m using the new Analytics library with different events and I have noticed that the field eventTimestamp is always automatically included for either standard/default events (like gameStarted) and custom ones like one I created called levelStarted.
Then, I’m in UK timezone, which is GMT+1.
So, I have noticed, than in the event browser on Unity GS, I can see that:
- collectInsertedTimestamp is always behaving using UTC times as expected
- eventTimestamp, however is using UTC for standard events and local time for custom ones
Here an example of what I’m saying (screenshots directly from UGS > Analytics Event Browser > View event content):
gameStarted using UTC/GMT+0
levelStarted using GMT+1
Notice how in the first one, both times are UTC (15:21:XX) and in the second one only one of them is UTC and the other GMT+1 (15:23 & 16:23).
Shouldn’t the times be consistent? Is this an expected behaviour in any way?
If this is expected, how can I standardise so all the eventTimestamp records to UTC as I cannot find anything to do that in custom events, through the SDK.
The versions I’m using are:
- Unity 2021.3.1f1
- “com.unity.services.analytics”: “4.0.0-pre.2”
- Testing the feature within the editor