mautic_tracking_api 1.0.2 copy "mautic_tracking_api: ^1.0.2" to clipboard
mautic_tracking_api: ^1.0.2 copied to clipboard

API to Monitoring and Tracking Users using Mautic for Dart and Flutter

example/example.dart

import 'package:mautic_tracking_api/mautic_tracking_api.dart';

void main() async {
  // Start Tracking
  var m = MauticTracking(
    "https://mkt.mymautic.com",
    appName: "MyApp",
    email: "contact@email.com",
    appVersion: '1.0.0',
    appBundleName: 'com.mydomain.myapp',
  );

  /// Track App Start
  await m.trackAppStart();

  /// Track App Screen
  m.trackScreen("main", "Main Page");

  /// Track App Event
  m.trackEvent('click', 'Click Get Start Button', 'home', 'Home Page');

  /// Add Contact Tag
  m.addTag({'a', 'b'});
}
4
likes
40
pub points
0%
popularity

Publisher

verified publisherpowertic.com

API to Monitoring and Tracking Users using Mautic for Dart and Flutter

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

http, path

More

Packages that depend on mautic_tracking_api