Require

It’s possible to use this method to require an Analytics plugin or add your own plugin

example adding Google Optimize

  1. this.$ga.require('GMT-XXXXXXX')

or adding a custom plugin

  1. const options = {}
  2. this.$ga.require('pluginName', options)

Google Analytics docs: require