diff --git a/docs/index.html b/docs/index.html index 90f939a..bc2450b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,8 +14,6 @@ - - @@ -669,21 +667,31 @@ - - + + var GA_ID = 'G-2TVGZ9N7LF'; + var s = document.createElement('script'); + s.async = true; + s.src = 'https://www.googletagmanager.com/gtag/js?id=' + GA_ID; + document.head.appendChild(s); + + window.dataLayer = window.dataLayer || []; + window.gtag = function gtag(){ dataLayer.push(arguments); }; + gtag('js', new Date()); + gtag('config', GA_ID); + })(); +
- + Support @@ -701,13 +709,13 @@

Take Control of Your Notes

A lightweight, privacy-focused note-taking application with powerful features: AI assistant integration (MCP), LaTeX math equations, Mermaid diagrams, an embedded drawing editor for quick sketches, smart tags, custom templates, code highlighting, and more. Write and organize your notes with a beautiful, modern interface all running on your own server.

✨ Demo resets daily · For demonstration purposes only

☁️ Or deploy your own instance in one click:

- + Run on PikaPods
@@ -1036,13 +1044,13 @@

Ready to Get Started?

Join the self-hosting community and take back control of your notes today.

✨ Demo resets daily · For demonstration purposes only

☁️ Don't want to self-host? Deploy on PikaPods:

- + Run on PikaPods
@@ -1052,8 +1060,8 @@
@@ -1193,6 +1201,27 @@ } }); })(); + + // Reads data-track / data-track-* attributes for declarative wiring. + (function () { + function track(event, params) { + if (typeof gtag !== 'function') return; + gtag('event', event, params || {}); + } + + document.addEventListener('click', function (e) { + const el = e.target.closest('[data-track]'); + if (!el) return; + + const params = { transport_type: 'beacon' }; + for (const attr of el.attributes) { + if (attr.name.startsWith('data-track-')) { + params[attr.name.slice('data-track-'.length)] = attr.value; + } + } + track(el.dataset.track, params); + }); + })();