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

Platformweb

UptimeMesh web monitoring SDK for Flutter Web — sessions, errors, network, Web Vitals, rage clicks.

uptimemesh_flutter_web #

Flutter Web monitoring SDK for UptimeMesh — session tracking, error monitoring, page view analytics, and custom events.

Note: This package is for Flutter Web only. For iOS/Android, use uptimemesh_flutter.

Features #

  • Automatic session tracking (browser, OS, device, language, timezone, UTM)
  • Flutter error hooks (FlutterError.onError + PlatformDispatcher.onError)
  • Page view tracking via popstate / hashchange events
  • User identification
  • Custom event and click tracking
  • Manual error capture with stack traces
  • Ad-blocker detection
  • Batched ingest with configurable flush interval

Installation #

dependencies:
  uptimemesh_flutter_web: ^1.0.0

Usage #

import 'package:uptimemesh_flutter_web/uptimemesh_flutter_web.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await UptimeMeshWeb.init('YOUR_API_KEY');

  runApp(const MyApp());
}

Get your API key from the Web Applications → App Detail → Integration tab in your UptimeMesh dashboard.

Identify users #

UptimeMeshWeb.instance.identify(user.uid);

Track events #

UptimeMeshWeb.instance.trackEvent('purchase_completed', {
  'amount': 49.99,
  'currency': 'TRY',
});

Capture errors manually #

try {
  await doSomething();
} catch (e, st) {
  UptimeMeshWeb.instance.captureError(e, st);
}

License #

MIT

0
likes
120
points
121
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

UptimeMesh web monitoring SDK for Flutter Web — sessions, errors, network, Web Vitals, rage clicks.

Homepage

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, http, shared_preferences, uuid

More

Packages that depend on uptimemesh_flutter_web