CloakTrack PHP - Link Cloaker and Click TrackerCloakTrack PHP - Link Cloaker and Click Tracker
Flat-file affiliate link cloaker and click tracker. No database, runs on shared hosting. Hide links, count clicks, redirect fast. Recently UpdatedCloakTrack PHP - Link Cloaker and Click Tracker
Flat-file affiliate link cloaker and click tracker. No database, runs on shared hosting. Hide lin...
Overview
CloakTrack is a self-hosted link cloaker and click tracker for affiliate marketers and anyone who shares links. It turns long affiliate URLs into short branded redirects on your own domain, counts every click, and lets you change a link's destination without editing the pages it sits on.
It stores everything in a plain JSON file - no database to set up, no framework, no Composer. Upload it to standard shared hosting, run the installer once, and you are done. Works on cPanel, DirectAdmin, and Plesk with PHP 7.4 or newer.
Features
Short branded redirect links on your own domainClick tracking with last-clicked time per link301 or 302 redirect, set per linkOptional referrer stripping to hide your site from the destinationCSV import and export for bulk link managementLive filter to find links fast when you have manyOptional link cap and domain allowlistPassword-protected admin, no database
Requirements
PHP 7.4 or newerWrite access to the script folderNo database or extra extensions needed
Instructions
Upload the files, open install.php in your browser, set an admin password, then delete install.php. Full setup, configuration, and usage steps are in the included documentation.html. A compatibility-check.php file is included so you can confirm your host before installing.
Other items by this author
| Category | Scripts & Code / PHP Scripts / Links |
| First release | 1 July 2026 |
| Last update | 1 July 2026 |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3 |
| Files included | .php, .css, .html |
| Tags | php script, affiliate marketing, no database, link shortener, flat file, link management, affiliate links, self hosted, 301 redirect, link cloaker, click tracker, url redirect |








