Skip to content

Commit

Permalink
Remove duplicate pageview tracking. (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregable authored Mar 3, 2024
1 parent e1a81d9 commit 9ed6860
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import { page } from "$app/stores";
import { browser } from "$app/environment";
import posthog from "posthog-js";
$: $page.url.pathname, browser && posthog.capture("$pageview");
</script>

<slot />
Expand Down

0 comments on commit 9ed6860

Please sign in to comment.