Flutter plugin for sending events to Google Analytics (Universal Analytics).
To use this plugin, add google_analytics_legacy as a dependency in your pubspec.yaml file.
- Copy your google-service.json to android/app folder
- Add to your build.gradle
apply plugin: 'com.google.gms.google-services'
After you add this lib to pubspec.yaml you are ready to go.
See examples.