Patent ID: 8452837

Claim:
A non-transitory computer storage medium encoded with tracking instructions that when executed by a client device cause the client device to perform operations comprising: generating event data detailing one or more events for a web page served by a publisher server and rendered on the client device, the web page and the publisher server belonging to a first domain, and the one or more events measured relative to the client device; determining if the event data exceeds a size threshold; in response to determining that the event data does not exceed the size threshold, generating an HTTP GET request to an analytics server belonging to a second domain that is different from the first domain, the HTTP GET request including the event data; in response to determining that the event data exceeds the size threshold, determining if the client device supports cross origin resource sharing; in response to determining that the client device supports cross origin resource sharing, generating a first HTTP POST request to the analytics server, the first HTTP POST request including the event data and being a cross-domain AJAX HTTP POST request that is a cross origin resource sharing compliant message; and in response to determining that the client device does not support cross origin resource sharing generating a second HTTP POST request to the analytics server, the second HTTP POST request including the event data and being sent from an environment on the client device that belongs to the second domain.