Self-Hosting an Ad Tracker: Why Bandwidth and Uptime Matter

Ten minutes without reliable tracking during a traffic spike can cost a media buyer more than a day of underperforming creatives. The budget keeps running and clicks keep coming, but some visitors never reach the tracker, leaving gaps in the data used to optimise campaigns. The VPS might be running without any obvious issues, but redirects can become slower and conversion data may stop updating on time. With a self-hosted ad tracker, finding out what’s causing the delay isn’t always straightforward.

How Much Traffic Does a Tracker Really Generate?

A tracking request involves several operations. The tracker receives the click, processes its parameters, records the event, redirects the visitor and later matches a conversion postback to the original click ID. The CPU and database handle much of this work, while the network payload for an individual click is usually small.

Take one million clicks per day at an estimated 3 KB per click. That produces roughly 90 GB over a 30-day month. By comparison, a 100 Mbps port can theoretically transfer around 32.4 TB in that period at continuous full utilisation, about 360 times as much. Actual usage varies with redirect chains and tracking parameters, so check server logs.

Does a dedicated tracker need unmetered bandwidth? Often, a metered plan with a generous quota is enough when the VPS handles redirects and postbacks alone. The picture changes if it also serves landing pages, pre-landers, images or campaign downloads, which can use considerably more traffic than click tracking.

What Do VPS Plans With Unmetered Bandwidth Really Cover?

For media buyers with unpredictable campaign volumes, VPS plans with unmetered bandwidth remove the pressure of monitoring a monthly traffic quota. However, “unmetered” describes billing, not network performance. Providers may share uplinks between customers, restrict port speed or apply fair-use rules during sustained heavy usage.

Before ordering, ask support:

1. Is the VPS connected through a dedicated port or a shared uplink?

2. Is traffic throttled after a certain volume or period of sustained utilisation?

3. Are there limits on packets per second or concurrent connections?

4. When can the server IP be null-routed, and how quickly is connectivity restored?

A null-routed IP makes the tracking domain unreachable even if the VPS keeps running, so campaigns can lose their tracking endpoint while the server dashboard still looks normal. Check the acceptable use policy and get the provider’s response procedure in writing.

Why Does a Healthy Server Still Lose Tracking Data?

A 99.9% uptime commitment allows approximately 43 minutes of downtime in a 30-day month, and the SLA generally covers the provider’s infrastructure rather than your PHP application, database or tracking scripts. A VPS can remain online while requests fail or conversion statistics stop updating, which is why external monitoring should check the actual tracking URL from a separate location.

Watch processing queues and response times. A queue that keeps growing may mean requests are arriving faster than the application can handle them. Affiliate networks may retry failed postbacks according to their integration rules, so deduplication by click ID or transaction ID is essential to avoid recording the same conversion twice.

Where Is the Real Bottleneck?

Before upgrading the port, reproduce a traffic spike on a staging copy. Use ‘iperf3’ to measure throughput, then test concurrent HTTP requests with ‘wrk’, ‘k6’ or ‘ab’.

Monitor PHP workers, database write times, connection limits, queue size and 95th-percentile response time. Check CPU steal in the ‘st’ column of ‘top’ or ‘vmstat’ as well. A consistently elevated value indicates that the virtual machine is waiting for CPU time from the host, which may point to contention with other VPS instances. Its impact depends on the workload, so compare readings during normal operation and traffic peaks.

If redirects slow down while network utilisation remains low, a faster port is unlikely to help. Exhausted PHP workers, slow database writes or competition for CPU resources can produce similar symptoms. Test backup restoration too, because a backup nobody has restored is only a hope.

When Is It Time to Upgrade?

Compare network utilisation with the tracking queue during a peak. A heavily loaded port alongside a stable queue suggests additional network capacity may be worthwhile, especially if the VPS also serves campaign assets. A quiet port and a growing queue point instead to CPU, PHP workers or database performance.

If the queue remains elevated after the spike, the server is already carrying a backlog. Another surge will add fresh requests before earlier ones have been processed, so investigate application capacity before buying more bandwidth.