Library to track user events in Saas applications.
The POC/ folder has files used in the proof of concept.
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
.
npm i
npm test
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.
- Review rule that allows more than one e-mail per token.
- Capture URL changes automatically.