1.0.1 • Published 3 years ago
nuxt-rtanalytika v1.0.1
RealTime Analytika for Nuxt.js
This is the official nuxt module for RealTime Analytika platform.
Add RealTime Analytika analytics to your Nuxt.js application. This plugin automatically sends first page and route change events to RealTime Analytika.
About RealTime Analytika
RealTime Analytika is a real time analytics platform for all your web analytical needs which gives you several features out of the box such as Replay, Channels, Heatmaps, Page Flows, Events, Notes, Tag Clouds etc.
Don't have account? Create one at RealTime Analytika here.
Setup
- Installation:
yarn add nuxt-rtanalytika
- Configuration:
- Open
nuxt.config.js
and addnuxt-rtanalytika
inside the modules like below:modules: ['nuxt-rtanalytika']
- Add
rtanalytika
module option and pass theuid
like the below:rtanalytika: { uid: 'R3J-XXXX' },
- Open
Module Options:
uid
- String (required) - The rtanalytika uidignores
- Array (optional) - The list of nuxt route names to ignore tracking.- i.e:
'ignores': ['route1', 'route2']
- i.e:
Usage
The module injects $rtanalytika
to the context which makes it easier to access the addEvent
method which helps us track custom events.
- i.e:
$rtanalytika.addEvent('Add to cart', 1);