A top documents component that displays a list of the most viewed documents in a Fluid Topics tenant. This component needs the ANALYTICS_USER
role to work.
npm install @fluid-topics/ft-analytics-top-documents
yarn add @fluid-topics/ft-analytics-top-documents
import { html } from "lit"
import "@fluid-topics/ft-analytics-top-documents"
function render() {
return html`<ft-analytics-top-documents
baseUrl: "https://my.fluidtopics.com/myTenant",
startDate: '2022-01-01'
endDate: '2022-02-01'
documentNumber: 10>
</ft-analytics-top-documents>`
}