Skip to content

fix(hijacking): height-match CTA arm to control to isolate ad-impression cause#6315

Open
tsahimatsliah wants to merge 2 commits into
mainfrom
fix/hijacking-cta-arm-height
Open

fix(hijacking): height-match CTA arm to control to isolate ad-impression cause#6315
tsahimatsliah wants to merge 2 commits into
mainfrom
fix/hijacking-cta-arm-height

Conversation

@tsahimatsliah

@tsahimatsliah tsahimatsliah commented Jul 14, 2026

Copy link
Copy Markdown
Member

What

Rebuilds the CTA arm (CatStageHero) of the hijacking_variants2 experiment to occupy the same vertical height as the control (DefaultHijackingStrip), while keeping its own distinct visual design.

Why

The CTA arm has been hurting header-ad impressions. The likely culprit is banner height: the arm forced min-h-[17.6rem]/tablet:min-h-[22.4rem] (~358px) plus py-10, a brand lockup, a typo-large-title heading, and an accent divider — rendering ~200px taller than the content-driven control on tablet and pushing the head ad down.

Holding height constant across both arms lets the experiment separate the variables and see whether the impression drop is caused by height or by the design itself.

Changes

  • Removed min-h-* and heavy py-10; adopted the control's p-5 / tablet:p-6 padding.
  • Switched from a tall 2-col grid to the control's compact flex-col tablet:flex-row items-stretch layout.
  • Dropped the BrandLockup and accent-divider rows; heading is now typo-title2 (matching the control's h3), with trimmed copy.
  • Cat image now uses the exact control sizing (h-[12.5rem] mobile / tablet:h-auto w-[14.5rem]); removed the now-unused CatHeroImage component.
  • Aligned the dual-CTA row margin mt-6mt-4 to match the control.

Kept distinct (so it remains a new design, not a control clone): the glowing "stage"/aurora backdrop, the dual Sign up / Log in CTAs, and the arm's own copy.

Notes

  • Width/rounding intentionally left as the CTA arm's own (full-width rounded-16) — this change targets height only.
  • Verified locally: strict typecheck, extension lint (0 warnings), and HijackingLoginStrip.spec.tsx (13/13) all pass.

🤖 Generated with Claude Code

Preview domain

https://fix-hijacking-cta-arm-height.preview.app.daily.dev

…ion cause

The CTA arm (CatStageHero) of the hijacking_variants2 experiment has been
hurting header-ad impressions. The likely culprit is banner height: the arm
forced a min-height plus py-10, a brand lockup, a large-title heading, and an
accent divider, rendering ~200px taller than the content-driven control on
tablet and pushing the head ad down.

Collapse the CTA arm to the control's compact height envelope (same
p-5/tablet:p-6 padding, same cat-image sizing, no min-height/py-10) while
keeping its distinct design (glowing stage backdrop, dual CTAs, own copy). With
height held constant, the experiment can tell whether the impression drop comes
from height or from the design itself. Removes the now-unused CatHeroImage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jul 14, 2026 9:14am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Jul 14, 2026 9:14am

Request Review

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant