Search analytics requires the Typesense engine and the search.analytics.clickhouse capability. It ships as its own package, @vendure-platform/search-analytics-clickhouse, which owns the analytics strategy, its storage, the Admin and Shop analytics schema, and the Analytics Dashboard screen. The package arrives with the @vendure-platform/scale edition package or higher; a Growth install does not carry it.
Configure the strategy under advancedSearch.analytics. Two strategies ship out of the box:
SqlAnalyticsStrategy: stores analytics data in a SQL database. This is the default on Scale and above.ClickhouseAnalyticsStrategy: stores analytics data in a ClickHouse database.Sign in with your Vendure Console account to read this documentation.