Socket
Socket
Sign inDemoInstall

vuepress-plugin-yandex-metrika

Package Overview
Dependencies
113
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vuepress-plugin-yandex-metrika

VuePress 2 plugin - Yandex Metrika


Version published
Maintainers
1
Created

Readme

Source

vuepress-plugin-yandex-metrika

Русский | English

Note: This plugin is provided for VuePress 2

Yandex Metrika plugin for VuePress 2, automatically add Yandex Metrika Counter to your VuePress site.

Current Release Release Date Monthly Downloads MIT License

Install

pnpm add -D vuepress-plugin-yandex-metrika
# OR
yarn add -D vuepress-plugin-yandex-metrika
# OR
npm install -D vuepress-plugin-yandex-metrika

Usage

import yandexMetrikaPlugin from 'vuepress-plugin-yandex-metrika';

module.exports = {
  plugins: [
    yandexMetrikaPlugin({
      id: 123123123,
      config: {
        clickmap: false,
        trackLinks: true,
        accurateTrackBounce: true,
        ecommerce: "dataLayer"         
      }
    }),
  ],
};

The counter is not added to the pages in the development and SSR mode

Options

id

  • Type: string | Number

  • Description: The counter ID assigned in the personal account Yandex Metrika

options

  • Type: Object

  • Description: Counter parameters that can be configured and seen in the counter insertion script generated in your personal account Yandex Metrika. And also get acquainted with the available in counter documentation.

Keywords

FAQs

Last updated on 14 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc