Module 04: Custom Endpoint Test

Setup Instructions:
  1. Open a terminal in this directory
  2. Run: npm init -y && npm install express
  3. Run: node endpoint.js
  4. Open http://localhost:3005/test.html in your browser
  5. 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 →