MatteoGabriele / vue-gtag

Global Site Tag plugin for Vue (gtag.js)
https://matteo-gabriele.gitbook.io/vue-gtag/
MIT License
864 stars 64 forks source link

Correct way to add a second property (Adwords) to config #196

Closed Sharpoon closed 3 years ago

Sharpoon commented 3 years ago

The docs for gtag.js show how to add a second property to the global site tag by setting a new config gtag('config', 'GA_MEASUREMENT_ID_2'); . How is this achieved with vue-gtag. Is it ok to just add a global site tag for Adwords alongside the vue-gtag setup which is using a Google Analytics Id.

Thanks

Steve

MatteoGabriele commented 3 years ago

you currently have to do it like this https://matteo-gabriele.gitbook.io/vue-gtag/multiple-domain-tracking this will change and be more easy to customise with the next version