Update clients/cli/src/analytics.rs

Co-authored-by: Collin Jackson <collin@nexus.xyz>
This commit is contained in:
Diego Prats 2024-11-12 17:03:45 -08:00 committed by GitHub
parent 4fd4423596
commit 18b3754709
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ pub fn track(
let client = reqwest::Client::new(); let client = reqwest::Client::new();
let _ = client let _ = client
//URL is the google analytics endpoint for firebase: https://stackoverflow.com/questions/50355752/firebase-analytics-from-remote-rest-api // URL is the Google Analytics endpoint for Firebase: https://stackoverflow.com/questions/50355752/firebase-analytics-from-remote-rest-api
.post(format!( .post(format!(
"https://www.google-analytics.com/mp/collect?firebase_app_id={}&api_secret={}", "https://www.google-analytics.com/mp/collect?firebase_app_id={}&api_secret={}",
firebase_app_id, firebase_app_id,