gatsby-plugin-yandex-metrica

0.1.3-check • Public • Published

gatsby-plugin-yandex-metrica

Easily add Yandex Metrica to your Gatsby site.

Install

npm install --save gatsby-plugin-yandex-metrica

Usage

In gatsby-config.js file:

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-yandex-metrica`,
      options: {
        trackingId: "YOUR_YANDEX_METRICA_TRACKING_ID",
        clickmap: true,
        trackLinks: true,
        accurateTrackBounce: true,
        trackHash: true,
 
        // Detailed recordings of user activity on the site: mouse movement, scrolling, and clicks.
        webvisor: true,
      }
    }
  ]
}

Package Sidebar

Install

npm i gatsby-plugin-yandex-metrica

Weekly Downloads

140

Version

0.1.3-check

License

MIT

Unpacked Size

5.51 kB

Total Files

7

Last publish

Collaborators

  • mellowjoey