A BASF Flutter plugin for Piano Analytics
Add BASF Flutter plugin to your pubspec.yaml file:
dependencies:
piano_flutter_plugin:
Import the library into your .dart
file:
import 'package:piano_flutter_plugin/piano_flutter_plugin.dart';
pianoFlutterPlugin = PianoFlutterPlugin();
// config with domain and SiteId
pianoFlutterPlugin.config("your domain",000000);
pianoFlutterPlugin.trackEvent('page.display',{
"page": "page name ios 09 05", // Event properties
"page_chapter1": "chapter 1",
"page_chapter2": "chapter 2",
"page_chapter3": "chapter 3"
});
/// etc...
You can find how to use all of this components at the example project