Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 606 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 606 Bytes

AngularJS Time Tracking Directive

Easily track how long users spend on your website with this simple directive. The durations that are tracked are pre-defined.

Requirements

Usage

Include the directive in your app, and simply add the time tracker element inside index.html:

<time-tracker></time-tracker>

Events

Events will be logged in Google Analytics as follows:

  • Category: Time Tracker
  • Event Action: Seconds elapsed
  • Event Label: <number of seconds spent on page>