Testing and replacing the database side
Everything analytics reads from or writes to the database goes through IAnalyticsHost (namespace
Relatude.DB.CMS.Web.Analytics): the settings, the custom logs, the storage, the IP lookup and the
reserved paths. The default, RelatudeAnalyticsHost, uses the default database. Register your own
implementation to record into another store, or a fake to test with:
builder.Services.AddSingleton<IAnalyticsHost, MyAnalyticsHost>();