--- title: Analytics tracking components slug: p6jg0187 canonical_url: https://docs.coveo.com/en/p6jg0187/ collection: coveo-for-salesforce source_format: adoc --- # Analytics tracking components [Coveo Analytics](https://docs.coveo.com/en/182/) require a [client ID](https://docs.coveo.com/en/lbjf0131/) to regroup the [events](https://docs.coveo.com/en/260/) in a [visit](https://docs.coveo.com/en/271/). For events to be considered part of a single visit, it's important that all your components logging UA events use the same client ID value for a given user across all the Coveo experiences that they interact with. For that purpose, the Coveo for Salesforce package offers the `ClientIdAccessor` component that you can use to retrieve the client ID in your custom components and share it with other components that send UA events. For more information, see: - [Coveo ClientIdAccessor Lightning component](https://docs.coveo.com/en/n6jh0013/) - [Coveo VisitorIdAccessor Lightning component (Deprecated)](https://docs.coveo.com/en/l7kd4227/)