clipwright/dashboard/src/components
Víctor Cavero 27d4916ca7
SEO: medir las páginas SEO, convertirlas y ampliar el cluster de comparativas (#86)
* feat(seo): measure the SEO pages, convert from them, and widen the cluster

The audit of 17-sep-2026 found the static SEO surface ranking at positions
1.8-4 with a 0.2-1.6% CTR while leaking every click it earned: the pages
carried no analytics at all (~424 clicks/month invisible, confirmed with
curl), the only link into the app was the fixed nav button, ten internal
links pointed at /cdn-cgi/l/email-protection, thirteen titles and
twenty-one descriptions were past the length Google renders, and every URL
in the sitemap claimed the same lastmod.

What changes, and how it is verified:

- Analytics (render.js). The shim, the %VITE_OPENPANEL_*% gate and
  ANALYTICS_HOSTS are ported verbatim from index.html, plus the init call
  the SPA makes from lib/consent.js — first-party measurement is exempt
  from prior consent and always on, so there is nothing to ask here. Vite
  only rewrites index.html and these files are emitted assets, so the
  plugin substitutes the placeholders itself; unset still yields an inert
  page. Verified by building with and without the variables.

- Body CTA (render.js, per-page copy in pages.js). Rendered between the
  TL;DR and the body, with the text that fits each page's argument, and
  never on legal pages or the 404. The link carries utm_* so
  lib/attribution.js can post the click with the signup, and fires a
  SeoCtaClick event so the CTA can be told apart from the nav button.

- Broken mailto links (legal.js). 46 plain-text addresses rewritten as
  <a href="mailto:...">. Cloudflare Scrape Shield turns the bare address
  into a /cdn-cgi/l/email-protection link, which is a 404 for crawlers.

- Titles and descriptions. Every title is now <=60 characters and every
  description <=160, measured across all 35 emitted pages rather than
  eyeballed (/gta-5-clips, merged the same week, was over on both). The
  check is part of the verification, not a one-off.

- Resume the job after sign-in (App.jsx). Pressing "get free clips" with no
  session opened the login modal and dropped the request: the magic link
  lands on a fresh document, so the pasted URL was gone. The request is now
  written down before the redirect and replayed after it, through the same
  handleProcess, so the isSignedIn -> isManaged -> keysMissing gate that
  decides billing is untouched: an unentitled account still lands on
  #/pricing, with the request parked until it pays. Files cannot be
  serialised, so those resume only within the same document.

- Gallery surface (app.py). The gallery head had no canonical; the JSON-LD
  was built from html.escape() output, producing &amp;amp;/&amp;quot; and
  valid-JSON-but-wrong names; the video page's nav and CTAs were relative
  hrefs on the api host, where "/" is a 404 (the app is on www). JSON-LD is
  now serialised as JSON with <> and & escaped as unicode, both pages carry
  their canonical, and cross-host links are absolute. Verified by rendering
  both routes with a monkeypatched gallery: the JSON parses and a title
  with quotes, an ampersand and markup survives round-trip.

- New comparison pages (pages.js): /opus-clip-pricing, /opus-clip-free-
  alternative, /opus-ai, /opus-pro, /vizard-ai-video-to-text,
  /submagic-reviews and a Spanish index at /alternativas. They target
  buying-intent variants (opus clips pricing, opus clip free trial, opus ai,
  opus pro, is vizard ai free) that the existing pages do not answer, read
  every price from data.js, and join the related-page ring, the footer and
  the landing links. /alternatives/vizard also gained the brand Q&A ("Is
  Vizard AI free?"), since "vizard ai" is how its volume is spelled.

Build: npm run build green (35 HTML files, all metadata in range, all
JSON-LD parseable). Tests: pytest tests/ -q, 777 passed, 19 skipped.

* fix(seo): CTA sin UTM interno, tutorial no pisa el job reanudado, mailto en el agente DMCA

- El CTA de las paginas SEO enlazaba al mismo origen con utm_*, lo que
  sobrescribia la atribucion real del visitante en lib/attribution.js y
  partia la sesion en OpenPanel. El evento SeoCtaClick sigue midiendo el clic.
- Alta nueva con un enlace aparcado: no abrir el tutorial intro encima del
  job que se reanuda solo.
- LoginModal solo promete 'tu video esta guardado' cuando el payload es una
  URL; un File no sobrevive al magic link en otra pestana.
- Los dos info@upload-post.com del agente DMCA tambien en mailto.

---------

Co-authored-by: victormanuel.caverogracia <>
2026-09-17 19:26:04 +02:00
..
ui feat(dashboard): make the app usable on a phone 2026-08-24 02:25:24 +02:00
AccountPage.jsx feat(billing): legal invoices from AgentLedger on the account page 2026-09-01 12:36:59 +02:00
AdvancedBanner.jsx feat(dashboard): make the app usable on a phone 2026-08-24 02:25:24 +02:00
ApiKeysCard.jsx feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
ClipEditor.jsx fix(dashboard): refresh the header minute meter after usage 2026-09-01 14:26:45 +02:00
ClipTutorial.jsx fix(dashboard): replace cramped tutorial card with a Next tour 2026-09-01 14:11:44 +02:00
CookieBanner.jsx feat(rgpd): legales, cookies, baja de marketing, marcado AI Act y alertas sin PII 2026-09-07 19:22:52 +02:00
DeleteAccountCard.jsx fix(cloud): close the gaps the account-deletion review turned up 2026-08-24 19:26:12 +02:00
Gallery.jsx redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
GalleryCard.jsx redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
HistoryTab.jsx feat(projects): reopen archived projects from history for further editing 2026-07-18 03:42:17 +02:00
HookModal.jsx feat(hook): replace semantics — a new hook swaps the burned one, plus remove 2026-08-19 16:01:53 +02:00
InvoicesCard.jsx feat(billing): legal invoices from AgentLedger on the account page 2026-09-01 12:36:59 +02:00
KeyInput.jsx redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
LoginModal.jsx SEO: medir las páginas SEO, convertirlas y ampliar el cluster de comparativas (#86) 2026-09-17 19:26:04 +02:00
McpConnectCard.jsx feat(mcp): create_upload for local files, captions switch per job 2026-08-27 16:32:05 +02:00
MediaInput.jsx fix(dashboard): replace cramped tutorial card with a Next tour 2026-09-01 14:11:44 +02:00
OAuthConsent.jsx feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
PlanChoiceModal.jsx fix(billing): stop stranding customers whose payment failed 2026-07-25 15:14:15 +02:00
PricingPage.jsx fix(dashboard): bind Icon in pricing and legal maps 2026-08-31 18:08:08 +02:00
PricingSection.jsx feat(pricing): MCP + API access named where buyers compare plans 2026-08-04 00:24:50 +02:00
ProcessingAnimation.jsx fix(source): stop serving the untouched original without a credential 2026-08-29 17:19:39 +02:00
ProfileMenu.jsx feat(billing): free plan (20 min/mes sin tarjeta) + retirar trial + opt-in galería UGC 2026-07-20 00:26:21 +02:00
ReframeEditor.jsx feat(dashboard): make the app usable on a phone 2026-08-24 02:25:24 +02:00
RemotionPreview.jsx feat: Add Remotion integration for animated subtitles, hooks and effects 2026-04-10 14:00:11 +02:00
ResultCard.jsx fix(dashboard): the score badge has to say what it is 2026-08-29 03:00:13 +02:00
SaaShortsTab.jsx chore(dashboard): make npm run lint work again 2026-08-25 19:24:46 +02:00
ScheduleWeekModal.jsx fix(social): say that a tiktok draft carries no caption, and say it when scheduling a week 2026-08-29 01:42:45 +02:00
SocialAnalyticsCard.jsx feat(dashboard): post analytics card + connect entry in profile selector 2026-08-21 19:16:53 +02:00
StarBanner.jsx copy(banner): one star ask per job, while the clips render 2026-08-22 19:51:40 +02:00
SubtitleModal.jsx fix(subtitles): honor user-edited caption text on the server render path 2026-08-19 10:50:22 +02:00
ThumbnailStudio.jsx feat(thumbnail): topic-first concepts, likeness-preserving references, refine follows the requested language 2026-08-27 15:52:34 +02:00
TikTokDraftNotice.jsx fix(social): say that a tiktok draft carries no caption, and say it when scheduling a week 2026-08-29 01:42:45 +02:00
TopUpModal.jsx feat(quota): offer the first N minutes of a long video instead of a bare wall 2026-09-16 21:02:38 +02:00
TranslateModal.jsx feat(ai-act): mark dubbed and ai-actor output as machine-readable ai content 2026-08-29 17:19:24 +02:00
TrialGate.jsx feat(dashboard): make the app usable on a phone 2026-08-24 02:25:24 +02:00
TrialUpgradeModal.jsx redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
UGCGallery.jsx fix(dashboard): drop the public gallery link from UGC gallery 2026-09-01 10:35:19 +02:00
UsageMeter.jsx redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
WatermarkModal.jsx chore(dashboard): make npm run lint work again 2026-08-25 19:24:46 +02:00