📈 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
Added randomisation utils
Blaumausf09e3811c2b8
diff --git a/src/utils/random.js b/src/utils/random.jsnew file mode 100644index 000000000..757b6ed62--- /dev/null+++ b/src/utils/random.js@@ -0,0 +1,5 @@+import { customAlphabet } from 'nanoid'++const legalCharacters = '1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm-'++export const nanoid = customAlphabet(legalCharacters, 11)\ No newline at end of file