Skip to content

DanielGietmann/umami-react

Repository files navigation

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's traffic without compromising privacy.

Features

  • Easy Integration
  • Umami Analytics

Installation

Install with npm

  npm i @danielgietmann/react-umami

Usage/Examples

In the Main Layout File Replace GTag with your GTag ID and GAnalytics with your Analytics Id

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>

  )
}

Roadmap

  • More Config Options

  • Cookies Check (DSGVO)

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published