1.0.0 • Published 4 years ago

cordova-google-tag-manager-plugin v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

cordova-google-tag-manager-plugin

Cordova plugin for Google Tag Manager for Android/iOS

Installing

You can install the latest version of the plugin directly from git through the Cordova CLI:

cordova plugin add https://github.com/jamesyoon11/cordova-google-tag-manager-plugin.git

Plugin variables

  • ANDROID_CONTAINER_LOCATION - The folder location where the GTM container file for Android (ex GTM-xxxxx.json)
  • IOS_CONTAINER_LOCATION - The folder location where the GTM container file for iOS (ex GTM-xxxxx.json)

Example Usage:

cordova cordova-google-tag-manager-plugin \
        --variable ANDROID_CONTAINER_LOCATION=../ios/container \
        --variable IOS_CONTAINER_LOCATION=../android/container \