diff --git a/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js b/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js index 87e75084c3..6762d48e45 100644 --- a/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js +++ b/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js @@ -18,7 +18,6 @@ export default ({ router }) => { ga('create', GA_ID, 'auto') ga('set', 'anonymizeIp', true) - ga('send', 'pageview') router.afterEach(function (to) { ga('set', 'page', to.fullPath)