google_tag_manager 0.1.0 copy "google_tag_manager: ^0.1.0" to clipboard
google_tag_manager: ^0.1.0 copied to clipboard

Platformweb

Dart wrapper around google tag manager js api

example/google_tag_manager_example.dart

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

void main() {
  gtm.pushEvent('button1-click');
  gtm.pushEvent('button2-click', data: {'value': 1});
  gtm.push({'variable_name': 'variable_value'});
}
16
likes
130
points
1.49k
downloads

Publisher

unverified uploader

Weekly Downloads

Dart wrapper around google tag manager js api

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

js

More

Packages that depend on google_tag_manager