--- title: Visitor ID slug: '273' canonical_url: https://docs.coveo.com/en/273/ collection: glossary source_format: adoc --- # Visitor ID A [Coveo Analytics](https://docs.coveo.com/en/182/) visitor ID uniquely identifies a user in a [search interface](https://docs.coveo.com/en/2741/), whether they're [authenticated](https://docs.coveo.com/en/2120/) or not. The `visitorId` query parameter is deprecated and has been replaced by the `clientId` in newer versions of the Coveo UI libraries. For compatibility, the new [first-party cookie](https://docs.coveo.com/en/mbeg8404/) and [local storage](https://docs.coveo.com/en/mbeh0288/) values are still named `coveo_visitorId`. The visitor ID can be manually specified or automatically generated. In older versions of the [Coveo JavaScript Search Framework](https://docs.coveo.com/en/187/), the visitor ID is generated by [Coveo Analytics](https://docs.coveo.com/en/182/) and stored in a non-expiring [third-party cookie](https://docs.coveo.com/en/mbeg0180/), so it can be used to track individual users across multiple [visits](https://docs.coveo.com/en/271/). However, the use of [third-party cookies](https://docs.coveo.com/en/mbeg0180/) [has also been deprecated](https://docs.coveo.com/en/m54b9238/). The visitor ID is distinct from the [visit ID](https://docs.coveo.com/en/272/), which does expire, and the [user ID](https://docs.coveo.com/en/268/), which is automatically attributed and is used to track [authenticated](https://docs.coveo.com/en/2120/) users. It's also distinct from the [client ID](https://docs.coveo.com/en/lbjf0131/), which takes precedence over the visitor ID when both are present.