Skip to content

feat: clarity #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 12, 2024
Merged

feat: clarity #91

merged 3 commits into from
Jun 12, 2024

Conversation

harlan-zw
Copy link
Collaborator

https://clarity.microsoft.com/

Usages

Global

export default defineNuxtConfig({
  scripts: {
    registry: {
      clarity: {
        id: 'YOUR_ID'
      }
    }
  }
})

API

const { clarity } = useScriptClarity({
  id: 'YOUR_ID'
})
clarity("identify", "custom-id", "custom-session-id", "custom-page-id", "friendly-name")	

Copy link

vercel bot commented Jun 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
scripts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 2:26am
scripts-playground ❌ Failed (Inspect) Jun 12, 2024 2:26am

@harlan-zw harlan-zw merged commit aab4777 into main Jun 12, 2024
2 of 4 checks passed
@harlan-zw harlan-zw deleted the feat/clarity branch June 12, 2024 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant