customMap
export default {
name: 'MyComponent',
methods: {
track () {
this.$gtag.customMap({ 'dimension2': 'age' })
this.$gtag.event('age_dimension', { age: 35 })
}
}
}
Remember, this is just an example. check the all API parameters in the official gtag documentation here
Last modified 3yr ago