umami/components/pages/reports/funnel/FunnelReport.js

29 lines
772 B
JavaScript
Raw Normal View History

2023-05-20 18:02:08 +02:00
import FunnelChart from './FunnelChart';
import FunnelTable from './FunnelTable';
import FunnelParameters from './FunnelParameters';
2023-06-03 08:10:59 +02:00
import Report from '../Report';
2023-05-20 18:02:08 +02:00
import ReportHeader from '../ReportHeader';
import ReportMenu from '../ReportMenu';
import ReportBody from '../ReportBody';
import Funnel from 'assets/funnel.svg';
const defaultParameters = {
type: 'funnel',
2023-06-03 08:10:59 +02:00
parameters: { window: 60, urls: [] },
};
2023-05-20 18:02:08 +02:00
export default function FunnelReport({ reportId }) {
2023-05-20 18:02:08 +02:00
return (
<Report reportId={reportId} defaultParameters={defaultParameters}>
<ReportHeader icon={<Funnel />} />
2023-05-20 18:02:08 +02:00
<ReportMenu>
<FunnelParameters />
2023-05-20 18:02:08 +02:00
</ReportMenu>
<ReportBody>
<FunnelChart />
<FunnelTable />
2023-05-20 18:02:08 +02:00
</ReportBody>
</Report>
);
}