We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdda20a commit 2aa27d7Copy full SHA for 2aa27d7
modules/nuxt-module-plausible/plugin.js
@@ -15,14 +15,10 @@ export default defineNuxtPlugin(() => {
15
return
16
}
17
18
- console.log('PASS')
19
-
20
let isInitialPageLoad = true
21
22
router.afterEach(to => {
23
24
- console.log(to)
25
26
// Ignore initial page because it's fired in the head
27
if (isInitialPageLoad) {
28
isInitialPageLoad = false
@@ -34,10 +30,6 @@ export default defineNuxtPlugin(() => {
34
30
(window.plausible.q = window.plausible.q || []).push(arguments)
35
31
36
32
37
- console.log({
38
- url: `${config.siteUrl}${to.fullPath}`
39
- })
40
41
33
window.plausible('pageview', {
42
url: `${config.siteUrl}${to.fullPath}`
43
})
0 commit comments