--- title: UserActivity component slug: '2977' canonical_url: https://docs.coveo.com/en/2977/ collection: coveo-for-salesforce source_format: adoc --- # UserActivity component The `UserActivity` component displays every event that was recorded by a user or the agent who opened the case in the [`UserActions` Component](https://docs.coveo.com/en/2973/). ## Options ### `userId` Identifies the user from which Clicked Documents are displayed. This option is required. ### `unfoldInclude` List of event causes to unfold. This option overrides the **unfoldExclude** option. The default value is `['didyoumeanAutomatic','didyoumeanClick','omniboxAnalytics','omniboxFromLink','searchboxSubmit','searchFromLink','userActionsSubmit']`. ```xml
``` ### `unfoldExclude` List of event causes to fold. This option is overridden by the **unfoldInclude** option. The default value is `[]`. ```xml ``` ## Methods This component doesn't offer any method. ## Usage This component is included by default in the [UserActions component](https://docs.coveo.com/en/2973/). ```xml ```