mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
Firebase Analytics: Set onboarded property
This makes it easier to calculate the actual retention rate as some 40-50% of the users never land up setting up a git sync. .
This commit is contained in:
@ -53,6 +53,12 @@ class StateContainer with ChangeNotifier {
|
||||
removeExistingRemoteClone();
|
||||
}
|
||||
|
||||
// Makes it easier to filter the analytics
|
||||
getAnalytics().firebase.setUserProperty(
|
||||
name: 'onboarded',
|
||||
value: appState.remoteGitRepoConfigured.toString(),
|
||||
);
|
||||
|
||||
var cachePath = p.join(appState.gitBaseDirectory, "cache.json");
|
||||
_notesCache = NotesCache(
|
||||
filePath: cachePath,
|
||||
|
Reference in New Issue
Block a user