📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
using swetrix-sdk - NPM edition
Blue Mouse64ea7a3b96a1
diff --git a/package.json b/package.jsonindex 481e0bf60..610553011 100644--- a/package.json+++ b/package.json@@ -6,6 +6,7 @@"@blaumaus/react-alert": "^7.0.5","@headlessui/react": "^1.7.3","@heroicons/react": "^2.0.11",+ "@swetrix/sdk": "^1.0.0","@tailwindcss/forms": "^0.5.3","axios": "^1.0.0","billboard.js": "^3.6.0",diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsxindex 7b5c58729..e9682eecc 100644--- a/src/pages/Project/View/ViewProject.jsx+++ b/src/pages/Project/View/ViewProject.jsx@@ -28,7 +28,7 @@ import _filter from 'lodash/filter'import _truncate from 'lodash/truncate'import _startsWith from 'lodash/startsWith'import PropTypes from 'prop-types'-import SwetrixSDK from 'swetrix-sdk-test/esnext'+import * as SwetrixSDK from '@swetrix/sdk'import { SWETRIX_PID } from 'utils/analytics'import Title from 'components/Title'