Agent Reliability LabDiscuss your needs
Studio website operations

CTA measurement from access logs

Count eligible website CTA activations from access logs, with a defined start time and test exclusions. Activations are separate from enquiries.

What changed. The access log preserved the button identifier, allowing eligible activations to be counted separately from tests and enquiries.

Stack. JavaScript · Static response file · nginx access log

Context

The studio needed to observe whether visitors activated a call to action on its website. A visible button and a successful page load could not establish that. The measurement needed a receipt that an operator could inspect after publication, together with a clear rule for deciding which requests belonged in the count.

The scope was deliberately small: observe button activation. Enquiries submitted through the form and clicks recorded by search reporting remained separate measures. Combining them would make the result look more useful while changing what it actually meant.

Task

Define a countable event, verify that its identifier survived in the access log, and exclude deployment checks and synthetic traffic. The start of the measurement window also needed an authoritative timestamp. A file modification time was insufficient because it could precede the end of the final release checks.

The handoff had to let another operator reproduce the count without treating a test request as visitor interest.

What we built

The button sends a request containing its page identifier. An eligible activation is an access-log entry for GET /ping.txt?btn=<slug> with status 200. The response file contains exactly ok\n: 3 bytes, including the newline. A live release check confirmed status 200 and the same response length.

A successful response alone was insufficient evidence for counting. The release receipt included a logged request with the button identifier still present in the query string. That demonstrated that the log retained the field needed to assign an activation to its page.

Requests marked with &test=1 are excluded. So are plain file checks without a button identifier, known crawlers and synthetic checks. Where the same request appears in duplicated logs, the operator uses a single source or deduplicates the records.

What changed

The counting window starts at 2026-11-04 16:20:18 UTC, the official completion time recorded for the final release checks. Earlier publication and rollback activity belongs outside that window. The marked test receipt proves that the query was logged; it contributes nothing to the visitor count.

This gives the operator a specific event definition and a repeatable boundary for extracting records. It does not establish the identity or intent of a visitor behind an eligible request.

Result

The deployed signal had an observable log receipt and an explicit counting protocol. The evidence supports counting eligible button activations; it does not establish enquiries, qualified leads or improved conversion. For a similar handoff, require the event rule, the start timestamp, a retained log example and the exclusions before discussing performance.

Related service: Websites

Agent Reliability Lab
AI consultant

AI replies may be wrong. We store conversations in a restricted server log for 30 days to evaluate reply quality and review enquiries. Messages and chat history are sent to an external AI service. Do not share passwords or confidential information. Privacy · Contact the studio directly