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): show the search sources prompt below the dashboard tiles (#126292)

Javier Bahamondes368e118b5331
diff --git a/frontend/src/scenes/marketing-analytics/MarketingAnalyticsScene.tsx b/frontend/src/scenes/marketing-analytics/MarketingAnalyticsScene.tsx
index 61851535d263..403dbfd1bfa7 100644
--- a/frontend/src/scenes/marketing-analytics/MarketingAnalyticsScene.tsx
+++ b/frontend/src/scenes/marketing-analytics/MarketingAnalyticsScene.tsx
@@ -217,14 +217,6 @@ const SourceMarketingAnalyticsDashboard = (): JSX.Element => {
Ad performance
</h2>
<DetectedSources compact={hasSearchConsole && !hasSyncedMarketingSources} dismissible />
- {!!featureFlags[FEATURE_FLAGS.MARKETING_ANALYTICS_ORGANIC_KEYWORDS] &&
- !dataWarehouseSources?.results.some((source) =>
- ['GoogleAds', 'BingAds', 'GoogleSearchConsole'].includes(source.source_type)
- ) && (
- <DashboardSetupPrompt kind="sources">
- {(dismissButton) => <SearchConsoleSource headerAction={dismissButton} />}
- </DashboardSetupPrompt>
- )}
<DashboardConversionRecommendations />
{hasSources && hasSyncedMarketingSources && (
<div className="mt-4 grid grid-cols-1 md:grid-cols-2 2xl:grid-cols-3 gap-x-4 gap-y-12">
@@ -233,6 +225,14 @@ const SourceMarketingAnalyticsDashboard = (): JSX.Element => {
))}
</div>
)}
+ {!!featureFlags[FEATURE_FLAGS.MARKETING_ANALYTICS_ORGANIC_KEYWORDS] &&
+ !dataWarehouseSources?.results.some((source) =>
+ ['GoogleAds', 'BingAds', 'GoogleSearchConsole'].includes(source.source_type)
+ ) && (
+ <DashboardSetupPrompt kind="sources">
+ {(dismissButton) => <SearchConsoleSource headerAction={dismissButton} />}
+ </DashboardSetupPrompt>
+ )}
</>
)
}