snowplow / snowplow-cpp-tracker

Snowplow event tracker for C++. Add analytics to your C++ applications, games and servers
http://snowplowanalytics.com
Apache License 2.0
9 stars 6 forks source link

Add eventIndex and firstEventTimestamp properties to client sessions (close #80) #81

Closed matus-tomlein closed 2 years ago

matus-tomlein commented 2 years ago

This PR addresses issue #80 and implements client_session schema version 1-0-2 with two new properties:

  1. firstEventTimestamp – Timestamp of when the first event in the session was tracked. Taken from the device created timestamp of the first event in the session.
  2. eventIndex – Index of the current event in the session. Starts at 1 as the sessionIndex.

The build is currently failing because of the integration tests since the schema is not yet published and Micro is not able to retrieve it.

paulboocock commented 2 years ago

Last time I thought about this I decided it must have been because it makes more sense in the warehouse when analysing. You cant have a 0th Session but you can have your 1st Session.