This feature is currently in beta. For now please refer to our PHP library and Ruby library and their documentation for how to use this feature.
Server-side tracking is altogether a 5-step process involving your server, Rangefinder, and optionally your visitor's web browser.
- Your server processes the web request and submits a track notification to Rangefinder over UDP. This track notification includes a random number generated by your server called the server ID. Since this happens via UDP it is very fast and lightweight, however it also means delivery is not guaranteed. In simpler terms: Rangefinder should get most tracking messages from your server, but a few may get lost here and there.
- Rangefinder records the notification from your server out-of-band. Your server can continue to process and respond to the original request without having to wait for Rangefinder.
- Rangefinder receives this notification and looks up the visit it recorded earlier from the server (steps 1 and 2). It then fills in missing data in the visit (page title, screen size, etc.) with data from the client.