analytics-plugin-crazy-egg
v0.0.4
Published
Crazy Egg integration for 'analytics' module
Downloads
16
Maintainers
Readme
Crazy Egg Plugin for analytics
Note: This package has moved to @analytics/crazy-egg
Integration with crazy egg for analytics
For more information see the docs.
Install
npm install analytics
npm install @analytics/crazy-egg
Usage
Include analytics
and @analytics/crazy-egg
in the source code of your project.
Initialize analytics with the crazy-egg plugin and the crazy-egg heat mapping script will be automatically loaded into the page.
import Analytics from 'analytics'
import crazyEggPlugin from '@analytics/crazy-egg'
const analytics = Analytics({
app: 'awesome-app',
plugins: [
crazyEggPlugin({
accountNumber: '12345678'
}),
]
})
// Crazy egg now loaded!
See the full list of analytics provider plugins in the main repo.