v
v
vue-gtag
v2
Search…
⌃K
Links

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