We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a108303 commit 5c31b4dCopy full SHA for 5c31b4d
source/gameanalytics/GAState.cpp
@@ -426,6 +426,10 @@ namespace gameanalytics
426
out["session_num"] = getInstance()._sessionNum;
427
out["connection_type"] = device::GADevice::getConnectionType();
428
429
+ // playtime metrics
430
+ out["current_session_length"] = getInstance().calculateSessionLength();
431
+ out["lifetime_session_length"] = getInstance().getTotalSessionLength();
432
+
433
// ---- OPTIONAL ---- //
434
435
// A/B testing
0 commit comments