Skip to main content

dataxamas 1.0.0 copy "dataxamas: ^1.0.0" to clipboard
dataxamas: ^1.0.0 copied to clipboard

Flutter SDK for the Dataxamas analytics platform — screen views, custom events, logs and error tracking.

dataxamas #

Flutter SDK for Dataxamas: screen views, custom events, logs and error tracking for APP projects.

Beta: the API may still change between versions. Pin the version in your pubspec.yaml.

Install #

flutter pub add dataxamas

Usage #

Create an APP project in the Dataxamas dashboard and copy its ingest API key.

import 'package:dataxamas/dataxamas.dart';
import 'package:flutter/material.dart';

final dataxamas = Dataxamas(apiKey: 'YOUR_API_KEY_HERE');

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Screens, app version, OS and device; events queue offline and retry later
  await dataxamas.tracking.start();

  runApp(
    MaterialApp(
      navigatorObservers: [dataxamas.tracking.observer],
      home: const HomeScreen(),
    ),
  );
}

// Custom events, from anywhere in the app:
// dataxamas.tracking.track('signup', {'plan': 'pro'});

Documentation #

Guides (go_router, UTM, logs, exceptions) and the API reference live at dataxamas.com/docs/flutter.

1
likes
0
points
150
downloads

Documentation

Documentation

Publisher

verified publisherdataxamas.com

Weekly Downloads

Flutter SDK for the Dataxamas analytics platform — screen views, custom events, logs and error tracking.

Homepage

Topics

#analytics #logging #error-tracking

License

unknown (license)

Dependencies

device_info_plus, flutter, http, package_info_plus, shared_preferences

More

Packages that depend on dataxamas