mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +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();
|
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");
|
var cachePath = p.join(appState.gitBaseDirectory, "cache.json");
|
||||||
_notesCache = NotesCache(
|
_notesCache = NotesCache(
|
||||||
filePath: cachePath,
|
filePath: cachePath,
|
||||||
|
Reference in New Issue
Block a user