@gracefullight/docusaurus-plugin-yandex-metrica
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@gracefullight/docusaurus-plugin-yandex-metrica

This plugin provides an easy way to add Yandex Metrica to your Docusaurus documentation website.

Installation

You can install this plugin via pnpm:

pnpm add @gracefullight/docusaurus-plugin-yandex-metrica

To use this plugin, you will need to configure it in your Docusaurus docusaurus.config.js file. You can add the following configuration to enable the plugin:

module.exports = {
  plugins: [
    [
      "@gracefullight/docusaurus-plugin-yandex-metrica",
      { counterId: "YOUR_COUNTER_ID" },
    ],
  ],
};

You need to replace "YOUR_COUNTER_ID" with the key you received from Yandex Metrica.

/@gracefullight/docusaurus-plugin-yandex-metrica/

    Package Sidebar

    Install

    npm i @gracefullight/docusaurus-plugin-yandex-metrica

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.24 kB

    Total Files

    10

    Last publish

    Collaborators

    • gracefullight