johnidm / RD-seiya

Library to track user events in Saas applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RD-seiya

Build Status

Library to track user events in Saas applications.

The POC/ folder has files used in the proof of concept.

Hew to use

Put the HTML code in you page.

<script src="index.min.js"></script>
<script>
    Seyia().setEmail('johni@johni.com');
    Seyia().trackUrl(window.location.href);
</script>

See more details in index.html.

Running unit tests

npm i
npm test

Create a release version

First of all you need to change the source code in the file seyia.js.

After, minify the main file with the command npm run uglify.

Okay, just use.

Upcoming features

  • Review rule that allows more than one e-mail per token.
  • Capture URL changes automatically.

About

Library to track user events in Saas applications


Languages

Language:JavaScript 79.2%Language:Python 11.2%Language:HTML 9.6%