--- title: Cookieless User Tracking author: Brett Langdon date: 2013-11-30 template: article.jade --- A look into various methods of online user tracking without cookies. --- Over the past few months, in my free time, I have been researching various methods for cookieless user tracking. I have a previous article that talks on how to write a tracking server which uses cookies to follow people between requests. However, recently browsers are beginning to disallow third party cookies by default which means developers have to come up with other ways of tracking users. ## Browser Fingerprinting You can use client side javascript to generate a browser fingerprint, or, a unique identifier for a specific users browser (since that is what cookies are actually tracking). Once you have the browser's fingerprint you can then send that id along with any other requests you make. ```javascript var user_id = generateBrowserFingerprint(); document.write( '