We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff1d6e commit 122e024Copy full SHA for 122e024
packages/@vuepress/plugin-google-analytics/inject.js
@@ -17,6 +17,7 @@ export default ({ router }) => {
17
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga')
18
19
ga('create', GA_ID, 'auto')
20
+ ga('set', 'anonymizeIp', true)
21
ga('send', 'pageview')
22
23
router.afterEach(function (to) {
0 commit comments