funnels_manager 1.0.0
funnels_manager: ^1.0.0 copied to clipboard
Funnels Manager is a Flutter package that helps you to manage your funnels and track your users' journey.
example/funnels_manager_example.dart
import 'package:funnels_manager/funnels_manager.dart';
import 'analytix_funnel.dart';
import 'funnels.dart';
void main() {
Funnel funnel = AnalytixFunnel(Funnels.funnel_1, shouldCountTime: true);
funnel.start();
funnel.track("Event 1");
funnel.track("Event 2");
funnel.track("Event 3");
Future.delayed(Duration(seconds: 2), () {
funnel.finish();
});
}
copied to clipboard