File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ var _paq = ( window . _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 = "//analytics.ossupstream.org/" ;
7
+ _paq . push ( [ "setTrackerUrl" , u + "matomo.php" ] ) ;
8
+ _paq . push ( [ "setSiteId" , "6" ] ) ;
9
+ var d = document ,
10
+ g = d . createElement ( "script" ) ,
11
+ s = d . getElementsByTagName ( "script" ) [ 0 ] ;
12
+ g . async = true ;
13
+ g . src = u + "matomo.js" ;
14
+ s . parentNode . insertBefore ( g , s ) ;
15
+ } ) ( ) ;
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import Welcome from '@site/src/components/Welcome'
5
5
import Install from '@site/src/components/Install'
6
6
import Demo from '@site/src/components/Demo'
7
7
import About from '@site/src/components/About'
8
+
9
+ import Matomo from '@site/src/components/Matomo'
8
10
import VideoEmbed from '@site/src/components/VideoEmbed'
9
11
10
12
export default function Home ( ) {
@@ -13,6 +15,7 @@ export default function Home() {
13
15
< Layout
14
16
title = { `Welcome to the ${ siteConfig . title } website!` }
15
17
description = "llm-d: a Kubernetes-native high-performance distributed LLM inference framework" >
18
+ < script src = { Matomo } />
16
19
< main >
17
20
< Welcome />
18
21
You can’t perform that action at this time.
0 commit comments