Add plausible
This commit is contained in:
parent
1098b2ddd5
commit
207b846322
3 changed files with 417 additions and 0 deletions
10
src/index.ts
10
src/index.ts
|
|
@ -15,6 +15,16 @@ import {
|
|||
} from './helper/accessibility';
|
||||
import { scrollToFragment } from './helper/scroll-to-fragment';
|
||||
import './index.scss';
|
||||
import Plausible from './plausible/tracker';
|
||||
|
||||
const plausible = Plausible({
|
||||
hashMode: true,
|
||||
trackLocalhost: true,
|
||||
apiURI: 'https://stats.schmelczer.dev/status',
|
||||
});
|
||||
|
||||
plausible.enableAutoPageviews();
|
||||
plausible.enableAutoOutboundTracking();
|
||||
|
||||
addSupportForTabNavigation();
|
||||
removeUnnecessaryOutlines();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue