JavaScript Tracker - how to set the tnuid parameter

Hello all :slight_smile:

I am tracking page views, and would like to send as much useful info as possible using the standard parameters - avoiding having to develop the json schemas etc required for using custom contexts.

I’d like to track:

  1. user ID
  3. Fingerprint
  4. Page name

Obviously, items 1, 3 & 4 are tracked as standard. It is not clear which param I could use to stash my JSESSIONID.

The documentation mentions a “tnuid” parameter that “Can be used be a tracker to overwrite the nuid” but I see no way for the tracker to set this parameter.

Does anyone know how to do this?

All the best,


Hi @dkk - the tnuid isn’t exposed in the JS Tracker; it’s intended for server-side trackers that want to override the actual collector cookie.

I would create a new context for your JSESSIONID.