Skip to content

yeskunall/astro-umami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

66 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

astro-umami

An Astro integration to add Umami Analytics to your website.

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" }),
  ],
});
๐Ÿ“– For all configurable options, see the interface.

Related

lume-umami - Lume plugin to add Umami Analytics to your website


โš–๏ธ License

MIT ยฉ Kunall Banerjee