Module 04: Custom Endpoint Test
Setup Instructions:
- Open a terminal in this directory
- Run:
npm init -y && npm install express
- Run:
node endpoint.js
- Open http://localhost:3005/test.html in your browser
- Watch the logs below — beacons are sent on page load and page departure
Endpoint Status checking...
Actions
Collector Log (sent from browser)
Waiting for beacons...
Server Data (stored on disk)
Click "Refresh Server Data" to see what the endpoint stored.
Test Navigation
Click a link below to trigger the departure beacon via visibilitychange:
Navigate to example.com → |
Reload this page →