Optional
analyticsOptional
anonymousWhether analytics events should be logged anonymously. If set to true, the Usage Analytics Write API will not extract the name and userDisplayName, if present, from the search token
Optional
deviceThe name of the device that the end user is using. It should be explicitly configured in the context of a native mobile app.
Optional
documentSpecifies the URL of the current page or component.
Optional
enabledWhether to enable usage analytics tracking.
Optional
originSets the Origin Context dimension on the analytic events.
You can use this dimension to specify the context of your application. Suggested values are "Search", "InternalSearch" and "CommunitySearch"
Optional
originThe origin level 2 usage analytics event metadata whose value should typically be the identifier of the tab from which the usage analytics event originates (e.g., All
).
Optional
originThe origin level 3 usage analytics event metadata whose value should typically be the URL of the page that linked to the search interface that’s making the request (e.g., https://connect.coveo.com/s/
).
Optional
proxyThe base URL to use to proxy Coveo analytics requests (e.g., https://example.com/analytics
).
This is an advanced option that you should only set if you need to proxy Coveo analytics requests through your own server. In most cases, you should not set this option.
Optional
runtimeThe Coveo analytics runtime to use, see https://github.com/coveo/coveo.analytics.js for more info.
Optional
Internal
sourceSpecifies the frameworks and version used around Headless (e.g. @coveo/atomic).
Optional
trackingThe unique identifier of the tracking target.
Optional
userSpecifies the user display name for the usage analytics logs.
The analytics client to use.
legacy
: The legacy analytics client, i.e., the Coveo Analytics.js library.next
: The next analytics client, i.e., the Coveo Event Protocol with the Relay library.