jeffrey

0.2.0 • Public • Published

Jeffrey!

Middleware between apps and target analytics services.

To use

Include the tracking.js within your project.

  • Call trackAction('target.action', payloadAsMap) to track any action
  • Call trackForms('#form.id', 'target.action', payloadAsMap) to track form submission

Action naming: 'source.location.action-performed'

  • source: The source that is tracking
  • location: Where in the source is this action being delivered from
  • action-performed: The action that has been performed and needs to be tracked

Long term there will be a gate keeper that ensures actions are maintained and follow a specified format

Readme

Keywords

none

Package Sidebar

Install

npm i jeffrey

Weekly Downloads

2

Version

0.2.0

License

ISC

Last publish

Collaborators

  • everydayhero