google_tag_manager 0.0.3
google_tag_manager: ^0.0.3
google_tag_manager: ^0.0.4-nullsafety.0

Dart js
Flutter web

Dart wrapper around google tag manager js api

google_tag_manager #

Dart wrapper around google tag manager js api

Usage #

Install Google Tag Manager (docs)

import 'package:google_tag_manager/google_tag_manager.dart' as gtm;

main() {
  gtm.pushEvent('button1-click');
  gtm.pushEvent('button2-click', data: {'value': 1});
  gtm.push({'variable_name': 'variable_value'});
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
80
pub points
47%
popularity

Dart wrapper around google tag manager js api

Homepage

Documentation

API reference

Uploader

hadrien.lejard@gmail.com

License

MIT (LICENSE)

Dependencies

js

More

Packages that depend on google_tag_manager