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

IP anonymization #150

Closed halbtale closed 4 years ago

halbtale commented 4 years ago

Due to EU law, IP anonymization is required.

How can you set IP anonymization on vue-gtag library?

https://developers.google.com/analytics/devguides/collection/gtagjs/ip-anonymization

ghost commented 4 years ago

With the removal of all config params the past 3 releases, we also need a solution to pass our additional config. I can't find any solutions within the documentation, perhaps this is an oversight?

Besides anonymize_ip we also like to pass send_page_view, custom_map for setting custom dimensions and optimize_id to name a few.

Would love to hear what I should do to restore this with the latest vue-gtag release?

MatteoGabriele commented 4 years ago

yeah I need to re-add the possibility of the first hit + configs. trying to find a way. I will work on that hopefully later today: I kinda have an idea.

ghost commented 4 years ago

@MatteoGabriele Awesome, thanks for the quick support! I will patiently wait for a solution, and fix our version to 1.6.2 in the meanwhile.

ItsMeDelanoDev commented 4 years ago

FYI: Removed the other Github account. I'm the Ghost above 😜

ItsMeDelanoDev commented 4 years ago

Hi! Just checking in wondering what the status of this bug is. Thanks again!

MatteoGabriele commented 4 years ago

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

The release is available on:

Your semantic-release bot :package::rocket: