Skip to content

mikhailsidorov/nuxt-rambler-top100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt Rambler Top-100

This plugin automatically sends first page and route change events to Rambler Top-100.

Note: module is not enabled in dev mode. You can set environment variable NODE_ENV to production for testing in dev mode.

Setup

npm install --save nuxt-rambler-top100

Add nuxt-rambler-top100 to modules section of nuxt.config.js

{
  modules: [
    [
      'nuxt-rambler-top100',
      {
        // Project ID. Required parameter.
        id: 'XXXXXX',

        // Data attributes. Optional parameter.
        attributesDataset: ['attribute1', 'attribute2']
      }
    ]
  ]
}

For more information please read the documentation: