gtag_analytics 0.1.7+2

Dart js
Flutter web

A minimal Google Analytics interop library. Allows triggering page views and other events from Dart code.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  gtag_analytics: ^0.1.7+2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:gtag_analytics/gtag_analytics.dart';
2
likes
90
pub points
55%
popularity

A minimal Google Analytics interop library. Allows triggering page views and other events from Dart code.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

filip.hracek@gmail.com

License

MIT (LICENSE)

Dependencies

js, meta

More

Packages that depend on gtag_analytics