Skip to content

Commit

Permalink
fix($plugin-google-analytics): duplicate tracking of first page (fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitzero authored and meteorlxy committed Nov 27, 2019
1 parent 28a10c6 commit a69df21
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a69df21

Please sign in to comment.