close
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Analytics lifecycle example Plugin

Example plugin showcasing the various lifecycle methods a plugin can hook into

Usage

npm install analytics analytics-plugin-lifecycle-example
import Analytics from 'analytics'
import lifecycleExample from 'analytics-plugin-lifecycle-example'

const analytics = Analytics({
  app: 'my-app',
  plugins: [
    lifecycleExample(),
  ]
})