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