track package version for all events (#79)

This commit is contained in:
Gabriel Gordon-Hall
2025-07-07 11:18:29 +01:00
committed by GitHub
parent 8037946500
commit adf745fa54

View File

@@ -62,6 +62,7 @@ impl AnalyticsService {
"timestamp".to_string(), "timestamp".to_string(),
json!(chrono::Utc::now().to_rfc3339()), json!(chrono::Utc::now().to_rfc3339()),
); );
props.insert("version".to_string(), json!(env!("CARGO_PKG_VERSION")));
} }
let payload = json!({ let payload = json!({