Skip to main content

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

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

dataxamas #

Flutter SDK for Dataxamas: screen views, custom events, heat maps, session replay, 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();

  // Heat map, session replay and scroll depth; text fields are masked in the replay
  runApp(
    DataxamasWidget(
      client: dataxamas,
      child: 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, replay and heat map, logs, exceptions) and the API reference live at dataxamas.com/docs/flutter.

1
likes
140
points
150
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdataxamas.com

Weekly Downloads

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

Homepage

Topics

#analytics #logging #error-tracking #session-replay

License

MIT (license)

Dependencies

device_info_plus, flutter, flutter_image_compress, http, package_info_plus, shared_preferences

More

Packages that depend on dataxamas