Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
fix: add back matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
koen1711 committed Apr 13, 2024
1 parent 286d4cf commit 77ff7fb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"monaco-editor": "^0.47.0",
"ng-terminal": "~6.1.0",
"ng2-charts": "3.0.11",
"ngx-matomo-client": "^6.1.3",
"ngx-monaco-editor-v2": "16.0.1",
"papaparse": "^5.4.1",
"rxjs": "~7.5.5",
Expand Down
10 changes: 10 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { AppEffects } from './effects/app.effects';
import { RobotWiredEffects } from './effects/robot.wired.effects';
import { CoreModule } from './modules/core/core.module';

import { MatomoModule } from 'ngx-matomo-client';
import {CodeEditorEffects} from "./effects/code-editor.effects";
import {MonacoEditorModule} from "ngx-monaco-editor-v2";

Expand All @@ -41,6 +42,15 @@ export function createTranslateLoader(http: HttpClient) {
deps: [HttpClient]
}
}),
MatomoModule.forRoot({
scriptUrl: 'https://leaphyeasybloqs.com/matomo/matomo.js',
trackers: [
{
trackerUrl: 'https://leaphyeasybloqs.com/matomo/matomo.php',
siteId: 1
}
],
}),
CoreModule,
MonacoEditorModule.forRoot()
],
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6963,6 +6963,13 @@ ng2-charts@3.0.11:
lodash-es "^4.17.15"
tslib "^2.3.0"

ngx-matomo-client@^6.1.3:
version "6.1.3"
resolved "https://registry.yarnpkg.com/ngx-matomo-client/-/ngx-matomo-client-6.1.3.tgz#2e90c03c7fbc2a2b22d644c76ed64dce4929ad49"
integrity sha512-MdnA5u5xJMm1qiaUkyJRuiYe4VaY24qjFq8SYUME5u+XcPWcULpNkJwJAD7EaIv8hm9QbxQyxuqfBKf+b4C/0g==
dependencies:
tslib "^2.3.0"

ngx-monaco-editor-v2@16.0.1:
version "16.0.1"
resolved "https://registry.yarnpkg.com/ngx-monaco-editor-v2/-/ngx-monaco-editor-v2-16.0.1.tgz#5ac93821fb9124d914b399beb4da4c1b30546905"
Expand Down

0 comments on commit 77ff7fb

Please sign in to comment.