Last updated:
0 purchases
journey3 connector
Flutter connector for Journey3 (Lightweight Anonymous Mobile Analytics)
Features #
Use this plugin in your Flutter app to:
Track sessions, unique users and new users
Track application feature usage
Track user journey stage conversions
Track user retention
Getting started #
Register and get an application key at https://journey3.net/
Configure the plugin to start tracking stats
Usage #
Initializing the plugin #
PackageInfo.fromPlatform().then((PackageInfo packageInfo) {
Journey.instance().initialize(
'<accountId>',
'<appId>',
packageInfo.version,
kReleaseMode);
});
copied to clipboard
Report an event #
Events are used to track feature usage:
await Journey.instance().reportEvent('click_play');
await Journey.instance().reportEvent('click_pause');
copied to clipboard
Report an error #
Errors are special types of events:
await Journey.instance()
.reportEvent('err_loading_catalog', isError: true);
copied to clipboard
Report a crash #
Crashes are yet another types of events:
FlutterError.onError = (FlutterErrorDetails details) async {
await Journey.instance().reportEvent('crash', isCrash: true);
// Handle error, for example
// exit(0);
};
copied to clipboard
Report a stage transition #
Stage transitions are used to build user conversion funnels:
await Journey.instance()
.reportStageTransition(2, 'explore');
copied to clipboard
It's up to you what stages you would like to use, we recommend to start with the following stages:
stage
name
comment
1
'new user'
Is used as an initial stage by default for all sessions. You don't need to report this stage
2
'explore'
The user has used some basic features of the app. For example: the user has browsed through the catalog of music albums
3
'engage'
The user has used one of the main features of the app. For example: the user has started playing the album
4
'commit'
The user has bought the subscription service for your app
You don't need to remember which stage you already reported. The plugin will remember the highest stage that you reported.
Maximum 10 stages are supported.
GDPR compliance #
Journey3 plugin is designed to be anonymous by default.
Most of the data is stored in the aggregated form (as counters), the session correlation is done on the device itself.
We store:
Number of session in the given period of time, by version;
Number of unique users in the given period of time, by version;
Number of new users in the given period of time, by version;
Number of events in the given period of time, by event name and version;
Number of sessions that triggered an event in the given period of time, by event name and version;
Number of sessions with errors in the given period of time, by version;
Number of sessions with crashes in the given period of time, by version;
Number of stage hits in the given period of time, by version;
Number of sessions bucketed by duration, in the given period of time, by version;
Number of sessions bucketed by retention, in the given period of time, by version.
In addition to counters, Journey3 stores sessions. A session includes the following data:
Version;
Duration;
Whether the session is from the first time user;
The sequences of events.
The retention period for the session is 15 days.
We don't store any device information or anything that can help identifying a user. These is no field that would allow to link sessions from the same user.
To preserve the anonymity, use event names that describe the feature used, and avoid adding any identifiable data.
Example, good: 'click_play', 'click_pause', 'add_to_favorites', 'search_by_artist'.
Example, bad: 'user_12345_bought_item_34556'
As we don't track any personally personally identifiable data, and make our best effort to render the stored data anonymous, we judge that the data collected by the plugin does not fall within the scope of the GDPR. This means you don't need to ask for the user opt-in.
That is, unless you abuse the API and use event or stage names that break the anonymity.
This assumption might also break due to some specific circumstances related to your app nature and purpose that we cannot predict.
This is why we encourage you to review the terms of GDPR law and make your own final decision whether to enable the plugin with or without opt-in, and whether to mention the data collected in your privacy policy.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.