# disco/1.4.12/backend/views/components/Analytics/pages/Dashboard.jsx

Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO, version 1.4.12. 31 lines.

- Page: https://pluginprobe.com/plugins/disco/1.4.12/code/backend/views/components/Analytics/pages/Dashboard.jsx
- Raw: https://pluginprobe.com/plugins/disco/1.4.12/raw/backend/views/components/Analytics/pages/Dashboard.jsx
- Modified: 2026-07-09T04:37:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/disco/1.4.12/code/backend/views/components/Analytics/pages/Dashboard.jsx#L10-L20`.

```jsx
import RevenueByIntent from '@/components/dashboard/RevenueByIntent';
import RevenueChart from '@/components/dashboard/RevenueChart';
import SummaryCards from '@/components/dashboard/SummaryCards';
import TopCampaigns from '@/components/dashboard/TopCampaigns';
import TopProducts from '@/components/dashboard/TopProducts';
import { __ } from '@wordpress/i18n';

const Dashboard = () => (
	<div className="disco-min-h-screen disco-bg-[#f9fafb] disco-p-6">
		<div className="disco-mb-5">
			<h1 className="disco-text-lg disco-font-bold disco-text-[#111827] disco-tracking-tight">
				{__('Analytics Dashboard', 'disco')}
			</h1>
		</div>

		<SummaryCards />

		<div className="disco-flex disco-gap-2.5 disco-mb-3">
			<RevenueChart className="disco-flex-[2]" />
			<RevenueByIntent className="disco-flex-1" />
		</div>

		<div className="disco-flex disco-gap-2.5">
			<TopCampaigns className="disco-flex-1" />
			<TopProducts className="disco-flex-1" />
		</div>
	</div>
);

export default Dashboard;

```
