repos
/ analytics-rust master

analytics-rust

mirror archived upstream

Single-binary self-hosted website analytics on Rust axum: collector API, dashboards, world map, and PDF reports.

analyticsaxumdockerrustself-hostedsqliteviteweb-analytics

356 B · 10 lines · HTML Raw History
1{% if collector_id %}
2<script>
3  (function(m,e,t,r,i,c,s){m.collectorQueue = m.collectorQueue || r;
4  m.collectorServer = c; m.collectorId = s; var script = e.createElement(t);
5  script.src = c + i; e.head.appendChild(script);
6  })(window,document,'script',[],'/static/collector.js',
7  '{{ collector_server }}','{{ collector_id }}');
8</script>
9{% endif %}