Repository navigation
Conversation
Post and squad analytics hide the AI agents section when the squad has no daily.dev for Startups plan, so free users never learn the data exists. Show a blurred preview with a made-up chart in its place and pitch the Starter plan through useStartupsPromo, which keeps the targeting (admins of a squad with no plan, a company page pitch for personal posts, never Enterprise or iOS) and logs impressions and clicks under two new spots. The preview shows for every eligible viewer, not only posts with agent data: analytics pages get little traffic and the API keeps the numbers hidden. It ignores the global Startups promo dismiss, since it stands in for a locked section rather than an ad. Also list agent analytics among Starter's features.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Post analytics and squad analytics hide the AI agents section when the squad has no daily.dev for Startups plan, so free users never learn the data exists. This puts a locked preview in its place: a blurred, made-up AI agents chart with a pitch for the Starter plan.
StartupsAgentAnalyticsPromo, usinguseStartupsPromowith two new spots,squad analytics promoandpost analytics promo. The hook already handles targeting, impressions and click logging.aria-hiddenand can't be hovered.useStartupsPromogetsisDismissible. This promo ignores the global Startups dismiss and has no X, since it stands in for a locked section rather than an ad.squadPlanDetails).Follow-up
plans.tssays the feature list mirrorsStartupPlanTable.astroin recruiter-landing, so that table needs the same line.Checks
oxlint, oxfmt, strict typecheck on changed files, webapp tsc (one existing unrelated error in
GameCenterStaticProps.spec.ts), shared squads tests, webapp tests.Preview domain
https://feat-startups-agent-analytics-pr.preview.app.daily.dev