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

  1. Copy your google-service.json to android/app folder
  2. 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.