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';
|
|
|
|
|
2023-05-29 06:37:34 +02:00
|
|
|
const defaultParameters = {
|
|
|
|
type: 'funnel',
|
2023-06-03 08:10:59 +02:00
|
|
|
parameters: { window: 60, urls: [] },
|
2023-05-29 06:37:34 +02:00
|
|
|
};
|
2023-05-20 18:02:08 +02:00
|
|
|
|
2023-05-29 06:37:34 +02:00
|
|
|
export default function FunnelReport({ reportId }) {
|
2023-05-20 18:02:08 +02:00
|
|
|
return (
|
2023-05-29 06:37:34 +02:00
|
|
|
<Report reportId={reportId} defaultParameters={defaultParameters}>
|
|
|
|
<ReportHeader icon={<Funnel />} />
|
2023-05-20 18:02:08 +02:00
|
|
|
<ReportMenu>
|
2023-05-29 06:37:34 +02:00
|
|
|
<FunnelParameters />
|
2023-05-20 18:02:08 +02:00
|
|
|
</ReportMenu>
|
|
|
|
<ReportBody>
|
2023-05-29 06:37:34 +02:00
|
|
|
<FunnelChart />
|
|
|
|
<FunnelTable />
|
2023-05-20 18:02:08 +02:00
|
|
|
</ReportBody>
|
|
|
|
</Report>
|
|
|
|
);
|
|
|
|
}
|