this.$ga is undefined

lucpotage
76
lucpotage
commented a year ago

I would like to track outbound links with Google Analytics. I tried to add a mixin with the function descibed here but I can't access to this.$ga.
I don't think I have to add Vue Analytics as a plugin on top of this module.

0
lucpotage
76
lucpotage
commented a year ago

It does not work inside a mixin. So I moved it into a Vue file directly and it worked.

0
Informations
Question โ€ข Resolved
#c18 - Created a year ago