Skip to content

anthonytopper/analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analytics

A basic web-based analytics engine

Usage

Only one javascript import is needed, and reporting automatically begins once the page loads. Specific events can be tracked as well, such as an outgoing URL click event. Assign your own event ID, and trigger javascript to log it:

ts.analytics.track.outgoingEvent('EVENT_NAME','EVENT_URL');

Or for tracking all mouseovers and clicks on a DOM element, just use the property "tsan_id", and set it to whatever custom ID you want.

<div tsan_id="ELEMENT_ID">

All mouse movements, by default, are recorded. The page view and interaction can then be "replayed" from admin reporting, found by hitting analytics.php

About

A web-based analytics engine for tracking page-views, mouse-movements and page referrals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published