Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
we already called `send` in `afterEach` hook
  • Loading branch information
egoist authored Aug 19, 2019
1 parent f5a5d6e commit 51646c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/saber-plugin-google-analytics/saber-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default function({ router }) {
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga')

ga('create', __GA_TRACK_ID__, 'auto')
ga('send', 'pageview')

if (__GA_ANONYMIZE_IP) {
ga('set', 'anonymizeIp', true)
Expand Down

0 comments on commit 51646c6

Please sign in to comment.