Skip to content

PatelN123/docusaurus-plugin-clarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-plugin-clarity

This plugin enables you can link your docusaurus site to bing clarity

Install the plugin

  1. Add the plugin to your project.
yarn add docusaurus-plugin-clarity

or

npm install docusaurus-plugin-clarity --save
  1. Configure the plugin in docusaurus.config.js
// docusaurus.config.js
module.exports = {
  plugins: ["docusaurus-plugin-clarity"],
  themeConfig: {
    clarity: {
      ID: "Your clarity ID", // Instructions below
    }
  }
};

How to find your clarity ID

  1. Open https://clarity.microsoft.com/

  1. Choose your project, so that you're now on the dashboard

  1. Select settings, shown in the image below:

settings


  1. Select setup

settings


  1. Open the dropdown How to install clarity

  1. Under the Clarity tracking code heading, there will be a piece of code, if you look at the screenshot below, the part underlined in green will be where the ID is located.

settings


  1. You now have your ID!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published