Skip to content

Commit 1575820

Browse files
ajitzerometeorlxy
authored andcommitted
fix($plugin-pwa): duplicate tracking of first page (fix #2017) (#2039)
1 parent 28a10c6 commit 1575820

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: packages/@vuepress/plugin-google-analytics/enhanceAppFile.js

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default ({ router }) => {
1818

1919
ga('create', GA_ID, 'auto')
2020
ga('set', 'anonymizeIp', true)
21-
ga('send', 'pageview')
2221

2322
router.afterEach(function (to) {
2423
ga('set', 'page', to.fullPath)

0 commit comments

Comments
 (0)