Traffic
Live Activity
Updating...Sources
Pages
Geography
Technology
| User | Location | Device | Pages | Duration | Entry Page | Source | Time |
|---|
Weekly Cohort Retention
Conversion Funnels
Custom Events
Loading...
How to Track Events
Use the JavaScript API to track custom events:
stats.track('button_click', { button: 'signup', plan: 'pro' });
The first parameter is the event name, the second is optional JSON data.
UTM Breakdown
Referrers
1. Add the script
Add this to your website's <head> or before </body>:
<script src="https://s.mdrzn.it/t.js" defer></script>
2. Add the proxy
Add these lines to your site's Apache VirtualHost (both HTTP and HTTPS blocks) to bypass adblockers:
# Analytics proxy (first-party, bypasses adblockers)
SetEnvIf Request_URI "^/d\.php$" ANALYTICS_PROXY=1
RequestHeader set Host "s.mdrzn.it" env=ANALYTICS_PROXY
ProxyPass /d.php http://s.mdrzn.it/s.php
ProxyPassReverse /d.php http://s.mdrzn.it/s.php
Quick Setup with Claude Code
Paste this prompt into a Claude Code session running in your website's directory:
Add analytics tracking to this website. Do these two things:
1. Add <script src="https://s.mdrzn.it/t.js" defer></script> before </body> in all HTML files.
2. Add the following lines to BOTH the HTTP and HTTPS VirtualHost blocks in the site's Apache config in /etc/apache2/sites-enabled/:
# Analytics proxy (first-party, bypasses adblockers)
SetEnvIf Request_URI "^/d\.php$" ANALYTICS_PROXY=1
RequestHeader set Host "s.mdrzn.it" env=ANALYTICS_PROXY
ProxyPass /d.php http://s.mdrzn.it/s.php
ProxyPassReverse /d.php http://s.mdrzn.it/s.php
Then restart Apache.
Custom Site Name
Track subdomains or paths separately with data-site:
<script src="https://s.mdrzn.it/t.js" data-site="app.example.com" defer></script>
What's Tracked
Pageviews
URL, title, referrer
Engagement
Active time, scroll depth
Clicks
Link clicks with position
UTM Params
Campaign attribution
Sessions
Full user journeys
Bot Filtering
Automatic detection
Page Performance
Slowest pages by average load time:
Loading...
JavaScript Errors
Errors captured from tracked sites:
Loading...
Database Stats
Loading...
Export Data
Download analytics data for the selected period: