File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ var _paq = window . _paq || [ ] ;
2
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
3
+ _paq . push ( [ 'trackPageView' ] ) ;
4
+ _paq . push ( [ 'enableLinkTracking' ] ) ;
5
+ ( function ( ) {
6
+ var u = "https://matomo.ethereum.org/piwik/" ;
7
+ _paq . push ( [ 'setTrackerUrl' , u + 'matomo.php' ] ) ;
8
+ _paq . push ( [ 'setSiteId' , '17' ] ) ;
9
+ var d = document , g = d . createElement ( 'script' ) , s = d . getElementsByTagName ( 'script' ) [ 0 ] ;
10
+ g . type = 'text/javascript' ; g . async = true ; g . defer = true ; g . src = u + 'matomo.js' ; s . parentNode . insertBefore ( g , s ) ;
11
+ } ) ( ) ;
Original file line number Diff line number Diff line change 120
120
121
121
def setup (app ):
122
122
app .add_stylesheet ("css/custom.css" )
123
+ app .add_javascript ("js/matomo.js" )
123
124
124
125
# Allows the mod index to function more helpfully (not everything under 'e')
125
126
modindex_common_prefix = ['eth.' ]
Original file line number Diff line number Diff line change
1
+ Add Matomo Tracking to Docs site.
2
+
3
+ Matomo is an Open Source web analytics platform that allows us
4
+ to get better insights and optimize for our audience without
5
+ the negative consequences of other compareable platforms.
6
+
7
+ Read more: https://matomo.org/why-matomo/
You can’t perform that action at this time.
0 commit comments