analytics-plugin-crazy-egg

0.0.4 • Public • Published

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.

/analytics-plugin-crazy-egg/

    Package Sidebar

    Install

    npm i analytics-plugin-crazy-egg

    Weekly Downloads

    0

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • davidwells