Skip to content

User tracking system without javascript designed to work as a plug-and-play css file.

License

Notifications You must be signed in to change notification settings

lucaslealdev/CSSTrackr

Repository files navigation

CSSTrackr

User tracking system without javascript designed to work as a plug-and-play css file. Based on this pure css proof of concept.

GitHub issues GitHub forks GitHub stars Twitter

Access "php-legacy" branch for PHP5 support

Quick demo:

Quick demo

Features

  • Can track different actions: click, hover, check (a checkbox) and keep-hovering;
  • Automatically detects and log: Browser, screen orientation, screen size;
  • No javascript tracking: fast, elegant and adblock-proof solution;
  • Descriptive: Every action to be tracked can have it's natural language description as User clicked on search box ;
  • Ignore some agents as googlebot and bingbot ;
  • Ignore IP addresses with wildcard support;
  • Support table prefix so you can use the database you already have without problems;
  • Use sessions to track user navigation;

How to use

1 - Clone or download the repository and unzip it.

2 - Install composer in your computer if you do not already have it (it is VERY easy I promise) and run the command "composer upgrade" inside the CSSTrackr folder. That command will download the dependencies.

3 - Create a database to store user data, if you do not have it yet.

4 - Upload the csstracker folder to your hosting;

5 - Access setup.php via browser and follow the setup instructions;

Query examples

1 - Get the top 10 actions:

SELECT
value, COUNT(*) as QTY
FROM action
GROUP BY value
ORDER BY COUNT(*) DESC
LIMIT 10

2 - Get the top 10 viewport width:

SELECT
viewport_width, COUNT(*) AS QTY
FROM session
GROUP BY viewport_width
ORDER BY COUNT(*) DESC
LIMIT 10

3 - Get the top 10 browsers:

SELECT
browser, COUNT(*) AS QTY
FROM session
GROUP BY browser
ORDER BY COUNT(*) DESC
LIMIT 10

About

User tracking system without javascript designed to work as a plug-and-play css file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published