diff --git a/README.md b/README.md index 7e82711..c233ef0 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,12 @@ That said, if you are interested in trying it out, I'd be interested in hearing - manual ping - manual DoNotTrack detection - sendBeacon +- Performance Tracking + ## missing (yet) - non utf-8 pages -- performance tracking - setCustomUrl - setReferrerUrl - HeartBeatTimer (automatic regular ping) diff --git a/example/main.ts b/example/main.ts index f4e5d46..0b1cb1b 100644 --- a/example/main.ts +++ b/example/main.ts @@ -5,7 +5,7 @@ import {PerformanceMetric} from "../src/performancetracking"; const matomo = new MatomoLiteTracker("https://dev.matomo", 1) matomo.performanceMetric = new PerformanceMetric() -console.log(matomo.performanceMetric) + const features = new BrowserFeatures() features.addBrowserPlugins(detectBrowserPlugins()) matomo.browserFeatures = features