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

pageTrackerScreenviewEnabled missing config id #178

Closed acgotakuatdji closed 3 years ago

acgotakuatdji commented 4 years ago

Description

If we enable pageTrackerScreenviewEnabled, vue-gtag missing below command:

gtag('config', 'GA_MEASUREMENT_ID');

pageTrackerScreenviewEnabled: false

GTScreenshot_20200828_141614

pageTrackerScreenviewEnabled: true

GTScreenshot_20200828_141657

Reproducible Demo

Demo repo: https://github.com/acgotakuatdji/test-vue-gtag

MatteoGabriele commented 3 years ago

thanks @acgotakuatdji I'll have a look and let you know asap

MatteoGabriele commented 3 years ago

:tada: This issue has been resolved in version 1.9.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

MatteoGabriele commented 3 years ago

@acgotakuatdji I had to do quite some changes actually but should all work out now. please let me know if it's fixed.

thanks a lot

acgotakuatdji commented 3 years ago

@MatteoGabriele Yes, fixed! Thank you very much!