Activity tracker

This library makes it easier to track user activity on the website. It tracks shortcut activities such as copy, paste and cut. Also, it tracks time spent idle on page and time outside of the page.

Setting up

<script src="/js/scripts.js"></script> will include script in desired page

Activity.init(alertTime, alertMessage); will initialize script

Function argument Explanation
alertTime Number of seconds before alerting users to focus on the page
alertMessage A message that will be shown in an alert box

Copyright StuntCoders — Start Your Online Store Now