railroad / railtracker
Tracks user actions in your application.
Installs: 88 117
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/railroad/railtracker
Requires
- php: ^8.2
 - doctrine/dbal: ^3.3
 - doctrine/orm: ^2.19
 - guzzlehttp/guzzle: ^7.2
 - jenssegers/agent: ^2.5
 - laravel/framework: ^11.9
 - predis/predis: ^2.2
 - ramsey/uuid: ^4.2.2
 - symfony/cache: ^6.4
 
Requires (Dev)
- orchestra/testbench: ^9.2
 - phpunit/php-code-coverage: ^11.0.1
 - phpunit/phpunit: ^11.0.1
 
- dev-main
 - v5.0.x-dev
 - v5.0.1
 - v5.0.0
 - v4.0.x-dev
 - v4.0.21
 - v4.0.20
 - v4.0.19
 - v4.0.18
 - v4.0.17
 - v4.0.16
 - v4.0.15
 - v4.0.14
 - v4.0.13
 - v4.0.12
 - v4.0.11
 - v4.0.10
 - v4.0.9
 - v4.0.8
 - v4.0.7
 - v4.0.6
 - v4.0.5
 - v4.0.4
 - v4.0.3
 - v4.0.2
 - v4.0.1
 - v4.0.0
 - v3.2.18
 - v3.2.17
 - v3.2.16
 - v3.2.15
 - v3.2.14
 - v3.2.13
 - v3.2.12
 - v3.2.11
 - v3.2.10
 - v3.2.9
 - v3.2.8
 - v3.2.7
 - v3.2.6
 - v3.2.5
 - v3.2.4
 - v3.2.3
 - v3.2.2
 - v3.2.1
 - v3.1.17
 - v3.1.16
 - v3.1.15
 - v3.1.14
 - v3.1.13
 - v3.1.12
 - v3.1.11
 - v3.1.10
 - v3.1.9
 - v3.1.8
 - v3.1.7
 - v3.1.6
 - v3.1.5
 - v3.1.4
 - v3.1.3
 - v3.1.2
 - v3.1.1
 - v2.1.15
 - v2.1.14
 - v2.1.13
 - v2.1.12
 - v2.1.11
 - v2.1.10
 - v2.1.9
 - v2.1.8
 - v2.1.7
 - v2.1.6
 - v2.1.5
 - v2.1.4
 - v2.1.3
 - v2.1.2
 - v2.1.1
 - v2.0.11
 - v2.0.10
 - v2.0.9
 - v2.0.7
 - v2.0.6
 - v2.0.5
 - v2.0.4
 - v2.0.3
 - v2.0.2
 - v2.0.1
 - v2.0.0
 - v1.2.02
 - v1.2.01
 - v1.2.0
 - v1.1.31
 - v1.1.3
 - v1.1.2
 - v1.1.1
 - v1.1.0
 - v1.0.9
 - v1.0.8
 - v1.0.7
 - v1.0.6
 - v1.0.5
 - v1.0.4
 - v1.0.3
 - v1.0.2
 - v1.0.1
 - v1.0.0
 - v0.5.2
 - dev-change-ip-address-log-level
 - dev-v4.0-playlist-progress
 - dev-fix-performance-rwillems-20230405
 - dev-3.2-php-8-laravel-9-migration
 - dev-3.2-
 - dev-1.2-
 - dev-5.6-
 
This package is auto-updated.
Last update: 2025-10-05 21:51:47 UTC
README
Tracks user interactions with your site including, page views, logins, custom actions, etc.
Requests/Responses
Railtracker looks at incoming server responses and stores information about it in our database. It stores the following for all requests:
- user id
 - cookie id (for anonymous visitors)
 - url
 - laravel route
 - device info
 - agent info
 - request method (PUT, PATCH, etc)
 - referring url
 - language
 - ip
 - date
 
It stores the following for all responses:
- request id
 - status code returned
 - response duration (how long it took the server to respond)
 - date
 
Exceptions
Railtracker also stores any error/exception information that happens while the server processes the request:
- request id
 - exception code
 - exception line
 - exception class
 - exception file
 - exception message
 - exception trace
 
Media Playback
The last part of railtracker is media playback tracking. It tracks how many seconds of any given content that a user watches/consumes. The data it stores looks like this:
- media id (usually a vimeo video id or youtube video id)
 - user id
 - seconds played
 - current second (where the user currently is in the video)
 - date
 
Final Note
Railtracker is purely a tool for storing the above information, it does not process or analyze the information in any way.