Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(marketing-analytics): limit campaign breakdown height (#112770)

Javier Bahamondes24c0e65bd1e9
diff --git a/docs/internal/web-analytics-query-serving.md b/docs/internal/web-analytics-query-serving.md
index 51d6d8454c8e..a06e3bfebfc5 100644
--- a/docs/internal/web-analytics-query-serving.md
+++ b/docs/internal/web-analytics-query-serving.md
@@ -288,3 +288,8 @@ Join the attributed `source_id` to source sync usage and the project's billing c
Use billable usage and actual invoice amounts, including free allowances and adjustments; a created source or a click is not revenue.
Deduplicate source IDs before allocating revenue and keep acquisition (`has_connected_sources = false`) separate from expansion.
This is click attribution, not proof of incremental revenue. Measure incrementality with a randomized holdout at the billing-customer level so projects from one customer do not appear in both groups.
+
+## Campaign breakdown display
+
+Campaign breakdown results have a maximum height of 36rem and scroll within the table area.
+The search, grouping, and column controls remain above the scroll area.
diff --git a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsTable/MarketingAnalyticsTable.tsx b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsTable/MarketingAnalyticsTable.tsx
index 0231d962ef31..f20fde849869 100644
--- a/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsTable/MarketingAnalyticsTable.tsx
+++ b/frontend/src/scenes/web-analytics/tabs/marketing-analytics/frontend/components/MarketingAnalyticsTable/MarketingAnalyticsTable.tsx
@@ -307,7 +307,7 @@ export const MarketingAnalyticsTable = ({
<MarketingAnalyticsNotReady />
</div>
) : (
- <div className="relative marketing-analytics-table-container">
+ <div className="relative marketing-analytics-table-container max-h-[36rem] overflow-auto">
<Query
attachTo={attachTo}
query={tableQuery}