Skip to content

Commit 2aa27d7

Browse files
style: removed test console statements
1 parent fdda20a commit 2aa27d7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

modules/nuxt-module-plausible/plugin.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ export default defineNuxtPlugin(() => {
1515
return
1616
}
1717

18-
console.log('PASS')
19-
2018
let isInitialPageLoad = true
2119

2220
router.afterEach(to => {
2321

24-
console.log(to)
25-
2622
// Ignore initial page because it's fired in the head
2723
if (isInitialPageLoad) {
2824
isInitialPageLoad = false
@@ -34,10 +30,6 @@ export default defineNuxtPlugin(() => {
3430
(window.plausible.q = window.plausible.q || []).push(arguments)
3531
}
3632

37-
console.log({
38-
url: `${config.siteUrl}${to.fullPath}`
39-
})
40-
4133
window.plausible('pageview', {
4234
url: `${config.siteUrl}${to.fullPath}`
4335
})

0 commit comments

Comments
 (0)