Skip to content

kbyte-tech/astro-clarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Clarity

Astro Clarity is a lightweight wrapper that seamlessly integrates Clarity analytics with Astro, making it effortless to track user interactions and performance metrics on your Astro-powered websites.

Installation

npm

npm install @kbyte-tech/astro-clarity

Yarn

yarn add @kbyte-tech/astro-clarity

pnpm

pnpm add @kbyte-tech/astro-clarity

Usage

// file: astro.config.mjs
import clarity from '@kbyte-tech/astro-clarity';

export default defineConfig({
  integrations: [
    // ... other integrations
    // Add the Clarity integration
    clarity({
      enabled: true,
      projectId: 'YOUR_PROJECT_ID',
    }),
  ],
});

About

MS Clarity analytics component for Astro

Resources

Stars

Watchers

Forks

Packages

No packages published