File tree 4 files changed +27
-1
lines changed
4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 36
36
- Built-in Search
37
37
- Atom Feeds
38
38
- PWA
39
- - Google Analytics / GoatCounter
39
+ - Web Analytics
40
40
- SEO & Performance Optimization
41
41
42
42
## Documentation
Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ analytics:
62
62
id : # fill in your Google Analytics ID
63
63
goatcounter :
64
64
id : # fill in your GoatCounter ID
65
+ umami :
66
+ id : # fill in your Umami ID
67
+ domain : # fill in your Umami domain
68
+ matomo :
69
+ id : # fill in your Matomo ID
70
+ domain : # fill in your Matomo domain
65
71
66
72
# Pageviews settings
67
73
pageviews :
Original file line number Diff line number Diff line change
1
+ <!-- Matomo -->
2
+ < script type ="text/javascript ">
3
+ var _paq = window . _paq = window . _paq || [ ] ;
4
+ _paq . push ( [ 'trackPageView' ] ) ;
5
+ _paq . push ( [ 'enableLinkTracking' ] ) ;
6
+ ( function ( ) {
7
+ var u = "//{{ site.analytics.matomo.domain }}/" ;
8
+ _paq . push ( [ 'setTrackerUrl' , u + 'matomo.php' ] ) ;
9
+ _paq . push ( [ 'setSiteId' , { { site . analytics . matomo . id } } ] ) ;
10
+ var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ] ;
11
+ g . type = 'text/javascript' ; g . async = true ; g . src = u + 'matomo.js' ; s . parentNode . insertBefore ( g , s ) ;
12
+ } ) ( ) ;
13
+ </ script >
14
+ <!-- End Matomo Code -->
Original file line number Diff line number Diff line change
1
+ <!-- Umami -->
2
+ < script
3
+ defer
4
+ src ="{{ site.analytics.umami.domain }}/script.js "
5
+ data-website-id ="{{ site.analytics.umami.id }} "
6
+ > </ script >
You can’t perform that action at this time.
0 commit comments