React Simple Umami Analytics Loader
The Umami Analytics Loader is a lightweight script that enables you to easily integrate Umami Analytics into your website. Umami is a simple, open-source website analytics tool that provides valuable insights into your website traffic without compromising privacy.
- Easy Integration
- Umami Analytics
Todos
- More Config Options
- Cookies Check (DSGVO)
Usage/Examples
In the Main Layout File Replace GTag with your GTag ID and GAnalytics with your Analytics Id
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {UmamiAnalytics} from "@danielgietmann/react-umami";
function App() {
return (
<html lang="en">
<body>
<UmamiAnalytics
UmamiUrl="www.youranalytics.de"
UmamiId="123131-231312-132123-12313"
/>
{children}
</body>
</html>
)
}