plausible_analytics 0.1.4 copy "plausible_analytics: ^0.1.4" to clipboard
plausible_analytics: ^0.1.4 copied to clipboard

outdated

A Flutter plugin for Plausible Analytics. This uses the events API to send clickevents and goals to Plausible Analytics.

example/main.dart

import 'package:plausible_analytics/plausible_analytics.dart';

String analyticsUrl = "https://youranalyticsurl.com";
const String analyticsName = "yourappname"; // this is actually the site name

void main() {
  Plausible plausible = Plausible(analyticsUrl, analyticsName);
  // Send goal
  plausible.event(name: 'Device', props: {
    'app_version': 'v1.0.0',
    'app_platform': 'windows',
    'app_locale': 'de-DE',
    'app_theme': 'darkmode',
  });

  // Page open event
  plausible.event(name: "settings_page");
}
18
likes
0
pub points
81%
popularity

Publisher

verified publisherbostrot.com

A Flutter plugin for Plausible Analytics. This uses the events API to send clickevents and goals to Plausible Analytics.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, universal_io

More

Packages that depend on plausible_analytics