Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add analytics tab+page

Tim Wilson34dbe8dd4a8d
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/analytics/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/analytics/page.tsx
new file mode 100644
index 0000000000..4c60438db4
--- /dev/null
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/analytics/page.tsx
@@ -0,0 +1,12 @@
+"use client";
+
+import { PageContent } from "@/ui/layout/page-content";
+import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
+
+export default function ProgramAnalytics() {
+ return (
+ <PageContent title="Analytics">
+ <PageWidthWrapper>WIP</PageWidthWrapper>
+ </PageContent>
+ );
+}
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index 1d0622a213..fafdd05b0b 100644
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@ -16,6 +16,7 @@ import {
Globe,
InvoiceDollar,
Key,
+ LinesY as LinesYStatic,
MoneyBills2,
PaperPlane,
Receipt2,
@@ -210,6 +211,11 @@ const NAV_AREAS: SidebarNavAreas<SidebarNavData> = {
{
name: "Insights",
items: [
+ {
+ name: "Analytics",
+ icon: LinesYStatic,
+ href: `/${slug}/program/analytics`,
+ },
{
name: "Commissions",
icon: InvoiceDollar,