SEO, GEO & Analytics

Production-grade metadata inspired by real apps (ACUPATAS): Open Graph, JSON-LD, Meta Pixel, and AI crawler policies.

SeoKit

use resuma::prelude::*;

let kit = SeoKit::new("My App", "https://example.com")
    .with_locale("es_VE")
    .with_keywords("rust, web, framework")
    .with_meta_pixel("1234567890")
    .with_default_json_ld()
    .with_llms_summary("My App helps teams ship resumable SSR apps in Rust.");

FlowApp::new()
    .with_seo_kit(kit)
    .auto_pages(...)

What it includes

  • SEO — canonical, OG/Twitter, robots meta, theme-color
  • GEOrobots.txt GPTBot/Claude rules + llms.txt generator
  • Analytics — Meta Pixel with SPA PageView on resuma:navigate
  • JSON-LD — Organization, WebSite, WebPage builders

Serve robots.txt & llms.txt

With .with_seo_kit(kit), Resuma serves /robots.txt and /llms.txt automatically (GPTBot rules, sitemap hint, LLM summary). Override by registering your own page at those paths.

Reactive Show

Use <Show when={logged_in.get()}> or when={logged_in} — both branches stay in the DOM and toggle on the client.