Skip to content
Projekte

Über uns

📈 Astro integration to add Umami Analytics to your website

Daten und Analyse

So werden diese Zahlen gemessen

What you can do

  • Automatically detects if you’re using View Transitions and adds a data-astro-rerun attribute
  • Disables events and pageviews during development (opt-in via enabledInDevelopment)
  • Supports all configuration options, unlike astro-analytics
  • Provides inline documentation for all configuration options (thanks to TypeScript)

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

astro-umami

An Astro integration to add Umami Analytics to your website.

Ask DeepWiki Greptile: The War on Bugs E2E tests license npm version monthly downloads

Highlights

Usage

Install

Run the following from your project directory and follow the prompts:

pnpm astro add @yeskunall/[email protected]

This will install and make the appropriate changes to your Astro config automatically.

Manual install

  1. Install the required dependencies
pnpm add @yeskunall/[email protected]
  1. Add the integration to your Astro config:
+import umami from "@yeskunall/astro-umami";

 export default defineConfig({
   integrations: [
+    umami({ id: "94db1cb1-74f4-4a40-ad6c-962362670409" }),
   ],
 });

Enable tracking during development

 export default defineConfig({
   integrations: [
     umami({
       id: "94db1cb1-74f4-4a40-ad6c-962362670409",
+      enabledInDevelopment: true,
     }),
   ],
 });
For all configurable options, see the interface.

Ähnliche Projekte entdecken

Wird geladen…