Flowcourier.Umbraco.AEO 17.6.0

dotnet add package Flowcourier.Umbraco.AEO --version 17.6.0
                    
NuGet\Install-Package Flowcourier.Umbraco.AEO -Version 17.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Flowcourier.Umbraco.AEO" Version="17.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Flowcourier.Umbraco.AEO" Version="17.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Flowcourier.Umbraco.AEO" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Flowcourier.Umbraco.AEO --version 17.6.0
                    
#r "nuget: Flowcourier.Umbraco.AEO, 17.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Flowcourier.Umbraco.AEO@17.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Flowcourier.Umbraco.AEO&version=17.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Flowcourier.Umbraco.AEO&version=17.6.0
                    
Install as a Cake Tool

Flowcourier.Umbraco.AEO

Answer Engine Optimization (AEO) for Umbraco. Make your Umbraco site readable by LLMs and AI answer engines (ChatGPT, Claude, Perplexity, Gemini, …) by serving your published content in the formats those tools understand — generated live from the content cache, with no editor work and no content changes required.

Install the package, and your site immediately gains three endpoints:

Endpoint What it returns
/llms.txt A curated index of your site — the llms.txt standard: title, summary, and a grouped list of links (one per page) pointing at each page's Markdown version.
/llms-full.txt The entire site rendered to Markdown in a single document — every indexable page, concatenated with source-URL markers, capped at 5 MB by default (LlmsFullMaxSizeKb). Ideal for feeding a whole site into a model's context or a RAG pipeline.
/{any-page-path}.md Any page as Markdown. Append .md to any URL (e.g. /products/widget.md) and get a clean Markdown rendering of that page instead of HTML.

Everything is derived from the live published-content cache, so the output always reflects what's currently published. Results are cached in memory for a short, configurable window — and refreshed immediately on publish.

The endpoints are also discoverable and crawler-friendly out of the box:

  • Every HTML content page advertises its Markdown version via a Link: <…/page.md>; rel="alternate"; type="text/markdown" response header and a <link rel="alternate" type="text/markdown"> tag in <head>; Markdown responses point back with rel="canonical".
  • Requesting a normal page URL with Accept: text/markdown returns the Markdown representation directly (content negotiation, with Vary: Accept).
  • All AEO responses carry ETag / Last-Modified validators and answer If-None-Match / If-Modified-Since with 304 Not Modified, and support HEAD.

Beyond the Markdown surface, the package also ships three more zero-config features:

  • Structured data (JSON-LD) — WebSite, WebPage/Article, breadcrumb and FAQ markup generated from your content and auto-injected into every rendered page's <head>; plus Organization identity markup that editors fill in on a backoffice "Structured Data" dashboard (never guessed from site content).
  • AI crawler analytics — visits from GPTBot, ClaudeBot, PerplexityBot and 150+ other AI crawlers are recognised, classified by intent (training, AI search, user-triggered, scanner) and counted, shown on the AI Traffic dashboard (Analytics section, or the AEO Dashboard under Settings → Flowcourier on a site without Flowcourier Analytics). Privacy-safe by design: no IP addresses are stored by default (truncated/hashed storage is opt-in), and raw user-agent strings are kept only for spoofed requests.
  • AI referrals — humans clicking through from claude.ai, chatgpt.com, perplexity.ai and other AI surfaces are recorded (no IP, no user agent) and correlated with user-triggered crawler fetches into "questions answered" conversions on that dashboard's Referrals tab.

The same figures are also there for one page at a time: every document gains an AEO sub-tab in its Analytics tab (the tab Flowcourier packages share — see Flowcourier.Umbraco.Foundation) showing that page's exposure, the AI crawlers that fetched it, the visits it drew from assistants and the questions those answered. Content editors need no Settings access to see it.


Why AEO?

Search engines read HTML; answer engines prefer Markdown. llms.txt and llms-full.txt are emerging conventions that let AI crawlers discover and ingest your content efficiently — without wading through navigation, scripts, styling and tracking markup. This package produces both — plus a Markdown rendering of every page — automatically from your existing Umbraco content.


Installation

dotnet add package Flowcourier.Umbraco.AEO

That's it. The package self-registers through an Umbraco pipeline filter — no changes to Program.cs, no composer of your own, no route configuration. After the next build/run:

  • https://your-site/llms.txt
  • https://your-site/llms-full.txt
  • https://your-site/about-us.md (or any page URL + .md)

are all live.

Requirements: Umbraco 17.5 or later (net10.0), rendering its own pages (MVC/Razor). Works on single-site and multi-site installs (output is scoped to the site root that matches the request's hostname via your Umbraco domain configuration).

Not for headless setups. Discovery headers, JSON-LD injection and crawler analytics all happen where the page is rendered. On a decoupled front end (e.g. the Content Delivery API with a separate front-end host), those features never reach your public site, and the AEO endpoints would sit on the CMS host — where crawlers never look. If Umbraco doesn't render your front end, this package is not a fit.

Multilingual sites

On culture-variant sites the output is generated per language, following the same domain configuration Umbraco uses to route your pages — both host-based (es.your-site/llms.txt) and path-prefix (your-site/es/llms.txt) setups:

  • https://your-site/llms.txt → default culture
  • https://your-site/es/llms.txt → Spanish (and /es/llms-full.txt, /es/about-us.md)

Titles, summaries, body content and the generated .md links all resolve in that culture, and a page is only listed for a language when it is actually published in it — so each language's llms.txt matches what Umbraco itself serves. Each culture is cached independently.

Culture-prefixed llms.txt / llms-full.txt URLs support a single path segment (/es/, /de-at/). Host-based domains have no such limit. .md pages work at any depth. (Multi-segment domain prefixes for the two text endpoints aren't routed.)

Discoverability: the package can advertise the AEO files in robots.txt for you — see robots.txt hint below. It's opt-in.


What gets included?

A page appears in /llms.txt and /llms-full.txt when it is:

  • Routable — it has a real, resolvable URL (element/folder nodes without a template are skipped automatically).
  • Not no-indexed — none of the configured no-index properties (default noIndex, hideFromSearch) are ticked.
  • Not excluded from listings — none of the configured exclude properties (default hideFromSitemap, excludeFromSitemap, umbracoNaviHide) are ticked.
  • Not an excluded document type — its doc-type alias isn't in the exclude list.

Pages whose doc-type is in OptionalDocumentTypeAliases (default: error, search, login, thank-you pages) are grouped under a ## Optional heading in llms.txt so small-context models can safely skip them.

Individual .md requests serve any published page directly, but return 404 for no-indexed pages and excluded document types.

How a page becomes Markdown

The converter walks each page's properties generically:

  • Rich text / grid HTML → Markdown (via ReverseMarkdown), after stripping scripts, iframes, style blocks, icon fonts and inline SVG.
  • Block List & Block Grid content → flattened recursively so nested blocks are included.
  • Media pickers → Markdown image links (video files are skipped). Relative URLs are made absolute (configurable).
  • Text / multi-value properties → paragraphs / bullet lists.
  • Layout, theme, SEO and system properties → skipped, so they don't pollute the output (see SkippedPropertyAliases).

The page title and description are resolved by trying a configurable list of property aliases (falling back to the node name), so it works with any content model without ModelsBuilder types.


Configuration

All settings are optional — the defaults work out of the box. Configure under the Flowcourier:Aeo section of appsettings.json:

{
  "Flowcourier": {
    "Aeo": {
      "Enabled": true,

      // Feature toggles
      "EnableLlmsTxt": true,
      "EnableLlmsFullTxt": true,
      "EnableMarkdownPages": true,

      // Route customization
      "LlmsTxtPath": "/llms.txt",
      "LlmsFullTxtPath": "/llms-full.txt",
      "MarkdownSuffix": ".md",

      // Discovery & HTTP behaviour
      "EnableAlternateLinkHeaders": true,
      "EnableAlternateHeadLink": true,
      "EnableContentNegotiation": true,
      "EnableConditionalRequests": true,
      "InvalidateCacheOnPublish": true,

      // robots.txt hint (opt-in)
      "Robots": {
        "Enabled": false,
        "Directive": "Llms",
        "IncludeFullTxt": true
      },

      // Structured data (JSON-LD) injected into <head>
      "Schema": {
        "Enabled": true,
        "EnableOrganization": true,
        "OrganizationOnAllPages": false,
        "EnableWebSite": true,
        "EnableWebPage": true,
        "EnableBreadcrumbs": true,
        "EnableFaq": true,
        "CacheSeconds": 300,
        "Organization": {
          "Name": null, "LegalName": null, "Url": null, "LogoUrl": null,
          "SameAs": [], "Email": null, "Telephone": null
        },
        "TypeMappings": { "blogpost": "Article", "newsItem": "NewsArticle" },
        "DatePublishedPropertyAliases": [ "publishDate", "articleDate", "postDate", "date" ],
        "AuthorPropertyAliases": [ "author", "authorName", "writer" ],
        "Faq": {
          "DocumentTypes": [],
          "QuestionPropertyAliases": [ "question", "faqQuestion" ],
          "AnswerPropertyAliases": [ "answer", "faqAnswer" ]
        }
      },

      // AI crawler analytics (the AEO Dashboard in the backoffice)
      "CrawlerAnalytics": {
        "Enabled": true,
        "RetentionDays": 90,
        "AdditionalBots": [],
        "DisabledBots": [],
        // Client-address handling. None (default) stores no addresses at all;
        // Truncated (/24, /48), Hashed (daily salt) and Full are opt-in.
        "IpStorage": "None",
        // Only when a trusted edge injects them (e.g. Cloudflare):
        // "ClientIpHeader": "CF-Connecting-IP",
        // "CountryHeader": "CF-IPCountry",
        // AI referrals: humans arriving from these surfaces are recorded
        // (appended to the built-in list; 0 = keep referral rows forever).
        "ReferralHosts": [],
        "ReferralRetentionDays": 0
      },

      // Crawler verification + spoof blocking (the "Blocking" backoffice page)
      "BotVerification": {
        "Enabled": true,
        "BlockSpoofed": true,
        "StrikesBeforeDurableBlock": 3,
        "DurableBlockRetentionDays": 90,
        // Only when a trusted edge injects a verified-bot flag:
        // "VerifiedBotHeader": "X-Edge-Verified-Bot",
        "Bots": {}
      },

      // Behaviour
      "AbsoluteUrls": true,
      "LlmsTxtCacheSeconds": 60,
      "LlmsFullCacheSeconds": 600,
      "LlmsFullMaxSizeKb": 5120,

      // Content model mapping (which property aliases mean what)
      "TitlePropertyAliases": [ "seoTitle", "metaTitle", "pageTitle", "browserTitle", "title" ],
      "DescriptionPropertyAliases": [ "seoMetaDescription", "metaDescription", "description", "summary", "abstract" ],
      "NoIndexPropertyAliases": [ "noIndex", "hideFromSearch" ],
      "ExcludeFromListingPropertyAliases": [ "hideFromSitemap", "excludeFromSitemap", "umbracoNaviHide" ],

      // Document-type filtering
      "ExcludedDocumentTypeAliases": [],
      "OptionalDocumentTypeAliases": [ "errorPage", "error404", "searchPage", "loginPage", "thankYouPage" ],

      // Extra property aliases to keep out of Markdown bodies
      // (added on top of a built-in baseline of common system/SEO/layout aliases)
      "SkippedPropertyAliases": []
    }
  }
}

Settings reference

Setting Default Description
Enabled true Master switch. When false, all endpoints and the .md handler become no-ops.
EnableLlmsTxt true Serve /llms.txt.
EnableLlmsFullTxt true Serve /llms-full.txt.
EnableMarkdownPages true Serve pages as Markdown on the .md suffix.
LlmsTxtPath /llms.txt Route for the index.
LlmsFullTxtPath /llms-full.txt Route for the full dump.
MarkdownSuffix .md Suffix that triggers Markdown rendering.
EnableAlternateLinkHeaders true Emit Link: <….md>; rel="alternate"; type="text/markdown" on HTML content pages, and rel="canonical" / rel="alternate"; type="text/html" back-pointers on Markdown responses.
EnableAlternateHeadLink true Inject <link rel="alternate" type="text/markdown"> into <head> of rendered pages (no-op on hosts without the default MVC tag helpers — the Link header still provides discovery).
EnableContentNegotiation true Serve Markdown from the canonical page URL when the Accept header explicitly prefers text/markdown; emits Vary: Accept on both representations.
EnableConditionalRequests true Emit ETag/Last-Modified and answer If-None-Match/If-Modified-Since with 304.
InvalidateCacheOnPublish true Clear the cached llms.txt/llms-full.txt whenever the published-content cache changes (TTLs stay as a safety net).
Robots.Enabled false Serve /robots.txt with an AEO discovery line (see below).
Robots.Directive Llms Keyword used for the hint line.
Robots.IncludeFullTxt true Also emit a {Directive}-full: line for /llms-full.txt.
Schema.Enabled true Inject a JSON-LD graph into the <head> of rendered pages (see Structured data).
Schema.EnableOrganization true Allow the Organization node (homepage only unless OrganizationOnAllPages). It only actually emits once a name is provided — on the Structured Data dashboard or in Schema.Organization.
Schema.OrganizationOnAllPages false Repeat the Organization node on every page instead of just the homepage.
Schema.EnableWebSite true Emit a WebSite node on the homepage.
Schema.EnableWebPage true Emit a WebPage (or mapped Article/…) node on every eligible page.
Schema.EnableBreadcrumbs true Emit a BreadcrumbList on pages below the homepage.
Schema.EnableFaq true Emit an FAQPage node when question/answer pairs are found.
Schema.CacheSeconds 300 Cache lifetime for the serialized graph per (page, culture); publishes clear it immediately.
Schema.Organization.* unset Organization identity in appsettings (name, legal name, URL, logo, sameAs profiles, email, phone). The backoffice Structured Data dashboard overrides these field by field; no name in either place = no Organization markup.
Schema.TypeMappings blog/news → Article Doc-type alias → schema.org type for the per-page node; unmapped types emit WebPage.
Schema.DatePublishedPropertyAliases publishDate, … Aliases checked in order for datePublished; falls back to the node's create date.
Schema.AuthorPropertyAliases author, … Aliases checked in order for the author (string values and content pickers both resolve).
Schema.Faq.* question/answer Doc-type filter (empty = all pages) and the question/answer aliases scanned on the page and its Block List/Grid elements.
CrawlerAnalytics.Enabled true Record AI-crawler visits and serve the "AI Traffic" dashboard data.
CrawlerAnalytics.RetentionDays 90 Days of hits to keep (pruned daily); 0 keeps everything.
CrawlerAnalytics.FlushIntervalSeconds 15 How often the background writer flushes queued hits (one batched transaction per flush).
CrawlerAnalytics.MaxBatchSize 200 Maximum hits written per flush transaction.
CrawlerAnalytics.QueueCapacity 5000 In-memory queue size between requests and the writer; overflow is dropped, never blocking a request.
CrawlerAnalytics.RecordStaticAssets false Record crawler fetches of static assets (stylesheets, scripts, images, fonts, media) as hits. Off, one page view is one row rather than one per asset; HTML, Markdown, llms.txt, robots.txt, PDFs, feeds and sitemaps are always recorded, and blocking applies to every request either way.
CrawlerAnalytics.AdditionalBots [] Extra crawlers to track: { Id, Name, Vendor, Category, UserAgentToken }.
CrawlerAnalytics.DisabledBots [] Ids of built-in crawlers to stop tracking (e.g. bytespider).
CrawlerAnalytics.IpStorage None How the client address is stored per hit: None (nothing, the default), Truncated (/24 IPv4, /48 IPv6), Hashed (daily-salted SHA-256) or Full. Verification always compares full addresses in memory regardless.
CrawlerAnalytics.ClientIpHeader null Single-IP header injected by a trusted edge (e.g. CF-Connecting-IP). Null uses the connection's remote address; the package never parses X-Forwarded-For — configure ASP.NET's forwarded-headers middleware for proxies.
CrawlerAnalytics.CountryHeader null Header carrying a two-letter country code from a trusted edge (e.g. CF-IPCountry); null records no country.
CrawlerAnalytics.ReferralHosts claude.ai, chatgpt.com, perplexity.ai, copilot.microsoft.com, gemini.google.com AI surfaces whose clicks count as AI referrals (Referer host incl. subdomains, or utm_source). Configured entries are added to the defaults.
CrawlerAnalytics.ProbePathPatterns /., appsettings, wp-, _profiler, elmah.axd, /telescope/ Path substrings marking a spoofed request as a vulnerability scan (intent scanner). Configured entries are added to the defaults.
CrawlerAnalytics.ReferralRetentionDays 0 Days of AI-referral rows to keep; 0 keeps them forever (they contain no personal data).
BotVerification.Enabled true Verify claimed AI crawlers against the vendor's published IP ranges / reverse DNS and record a verdict per hit (see Verified crawlers & spoof blocking).
BotVerification.BlockSpoofed true Answer provably spoofed crawler requests with 403. Off: spoofed hits are recorded but served.
BotVerification.ExemptPrivateNetworks true Never verify/block loopback, private or link-local addresses (keeps local dev working; disable to test enforcement locally).
BotVerification.VerifiedBotHeader null Header injected by a trusted edge that already verified the crawler (recorded as verified, method header; IP-list/rDNS checks skipped). Only use a header your edge strips from client requests.
BotVerification.TrustedEdgeCidrs Cloudflare's published ranges CIDRs of known CDN edge networks. When the remote address is one of these and no ClientIpHeader is set, the app is seeing the CDN, not the client — verification fails open (unverifiable, never blocked/striked) instead of branding every real crawler as spoofed. Configured entries are added to the defaults.
BotVerification.TrustedEdgeIpListUrls cloudflare.com/ips-v4, /ips-v6 Published edge-range lists refreshed at runtime on top of the static CIDRs (plain text or JSON prefixes). Configured entries are added to the defaults.
BotVerification.StrikesBeforeDurableBlock 3 Spoofed episodes from one address before it lands on the durable block list; 0 disables auto-escalation (and no IPs are ever written).
BotVerification.DurableBlockRetentionDays 90 Rolling window a durable block survives after the last offense (also prunes stale strike records); 0 keeps blocks forever.
BotVerification.IpListRefreshHours 24 Vendor IP-list cache lifetime (stale-while-revalidate; stale lists are kept on fetch failure).
BotVerification.IpListFetchTimeoutSeconds 10 Timeout per IP-list fetch.
BotVerification.DnsTimeoutSeconds 5 Timeout per reverse-DNS lookup; timeouts mean unverifiable, never blocked.
BotVerification.VerifiedTtlHours 24 Cache lifetime of a verified verdict per (crawler, address).
BotVerification.SpoofedTtlHours 1 Cache lifetime of a spoofed verdict — short so a vendor expanding its ranges self-heals.
BotVerification.UnverifiableTtlMinutes 10 Retry cadence for pending/failed verifications.
BotVerification.MaxCachedVerdicts 50000 Soft cap on cached verdicts (memory backstop against scanner floods).
BotVerification.MaxBlockedHitsPerMinute 120 Cap on blocked hits written to analytics per minute (blocking itself is never rate-limited); 0 records all.
BotVerification.Bots {} Per-bot overrides keyed by bot id: { IpListUrls, Cidrs, RdnsSuffixes }. Replaces the built-in descriptor wholesale; an empty descriptor makes the bot unverifiable.
AbsoluteUrls true Rewrite relative media/link URLs to absolute using the request scheme + host.
LlmsTxtCacheSeconds 60 In-memory cache lifetime for the index (per site root).
LlmsFullCacheSeconds 600 In-memory cache lifetime for the full dump (per site root).
LlmsFullMaxSizeKb 5120 Size cap for /llms-full.txt in KB (UTF-8 bytes). Pages append in stable URL order; a page that would burst the budget is skipped (one huge page can't evict the rest), and a truncated file ends with a footer stating how many pages were omitted. 0 or negative disables the cap.
TitlePropertyAliases see above Property aliases checked in order for a page title; falls back to the node name.
DescriptionPropertyAliases see above Property aliases checked in order for a page description/summary.
NoIndexPropertyAliases noIndex, hideFromSearch Boolean aliases that mark a page as no-index (excluded everywhere; .md returns 404).
ExcludeFromListingPropertyAliases hideFromSitemap, excludeFromSitemap, umbracoNaviHide Boolean aliases that exclude a page from the listings (still reachable individually as .md).
ExcludedDocumentTypeAliases [] Doc-type aliases to exclude entirely from AEO.
OptionalDocumentTypeAliases error/search/login/thank-you Doc-type aliases grouped under ## Optional in llms.txt.
SkippedPropertyAliases [] Extra property aliases to keep out of Markdown bodies, added to the built-in baseline.

robots.txt hint

Set Robots.Enabled to true and the package serves /robots.txt with discovery lines for the AEO files:

Llms: https://your-site/llms.txt
Llms-full: https://your-site/llms-full.txt

User-agent: *
Allow: /
  • If you already have a physical wwwroot/robots.txt, its content is preserved — the hint lines are prepended and any previous copies of them are de-duplicated.
  • If you don't, the minimal permissive block above is generated.
  • The middleware runs before the static-file handler, so it wins over a physical robots.txt while keeping that file's rules intact.

Llms: is not an official robots.txt directive (crawlers ignore unknown lines), so it's a discovery pointer, not a crawl rule. Change the keyword with Robots.Directive if you prefer another convention.

Structured data (JSON-LD)

Every eligible rendered page gets one <script type="application/ld+json"> in its <head> with a schema.org graph. Page-level markup is generated from your content — no templates to edit; the organization identity is the one thing you fill in yourself (a two-minute form in the backoffice):

  • Organization — your company identity, and the one node that is never guessed: it only emits once a name has been provided. Editors fill it in under Settings → Flowcourier → AEO Dashboard → Structured Data in the backoffice (name, legal name, URL, logo, profile links, contact details — stored in the database); developers can also set the same fields via Schema:Organization in appsettings, with backoffice values winning field by field. Emitted on the homepage by default (schema.org guidance: one representative page is enough); set OrganizationOnAllPages if you want it everywhere. Fill in SameAs, LogoUrl and LegalName for real deployments — verified identity is a core AI trust signal.
  • WebSite — homepage only: site name + URL.
  • WebPage / Article / NewsArticle / … — every page, typed via TypeMappings (doc-type alias → schema type; blog/news doc-types map to articles out of the box). Includes title, description, URL, language, datePublished (from your date property, falling back to the create date), dateModified and the author (string fields and content pickers both resolve).
  • BreadcrumbList — the page's ancestor trail, on every page below the homepage.
  • FAQPage — when the page (or any of its Block List / Block Grid elements) has a filled question and answer property (question/answer by default — configurable), the pairs are emitted as FAQ markup. Rich-text answers are stripped to plain text.

Eligibility follows the same rules as the Markdown alternate: preview renders, non-200 responses, no-indexed pages and excluded document types never emit schema. The graph is cached per page + culture and refreshed on publish. Validate your output at validator.schema.org or Google's Rich Results test.

AI crawler analytics

The package recognises the user agents of 150+ AI crawlers — OpenAI (GPTBot, ChatGPT-User, OAI-SearchBot), Anthropic (ClaudeBot, Claude-User, Claude-SearchBot), Perplexity, Google-Extended, Meta, Apple, Common Crawl, Bytespider and the long tail besides — and records every visit: which bot, which path, response status, whether it was served HTML, Markdown, llms.txt or robots.txt, and why the crawler came:

  • training — collecting model-training corpora (GPTBot, ClaudeBot, CCBot…)
  • search — building an AI search/answer index (OAI-SearchBot, PerplexityBot…)
  • user — a live fetch on behalf of someone's question (ChatGPT-User, Claude-User, Perplexity-User…) — the AEO conversion signal
  • scanner — a spoofed crawler probing for secrets (/.env, appsettings.*, wp-*…); the probe patterns are configurable

Open the AI Traffic dashboard in the backoffice. It has four tabs, sharing one date range with every other Flowcourier Analytics view:

Tab What it shows
Overview Hits per day stacked by intent, hits per crawler (with operator and purpose), a Verification box with the spoof rate per impersonated crawler, and the HTML vs Markdown ratio — is your AEO surface actually being used?
Top pages Which pages the crawlers take, searchable, with a drill-down per page and per crawler
Crawler log The recent-visits log, with per-hit verification verdicts
Referrals AI referrals and "questions answered" — the humans who arrived afterwards

The dashboard lives in the Analytics section when Flowcourier Analytics is installed, and under Settings → Flowcourier → AEO Dashboard when it is not. Either way, Settings keeps the Blocking page, the Structured Data form and the read-only settings page.

Built for production safety:

  • Never slows a request down — matching is a cheap in-memory scan; hits go into a bounded queue and a background writer persists them in batches (one short transaction per flush, SQLite-friendly). Under pressure, hits are dropped rather than queued unboundedly.
  • GDPR-safe by default, forensics by opt-in — with the default settings analytics store no IP addresses and no query strings, and the raw user-agent string is kept only for spoofed/failed hits (that's where the parsed bot id lies). Site owners who want scanner-cluster forensics can opt in to truncated (/24, /48), daily-salted-hash or full address storage via IpStorage. (The opt-out-able security block list remains the one table that always stores offending IPs — retention-bound.)
  • Pages, not assets — a crawler's fetches of stylesheets, scripts, images, fonts and media are not recorded (opt in with RecordStaticAssets), so one page view is one row rather than one per asset. Blocking applies to every request regardless.
  • Bounded storage — a daily job prunes hits older than RetentionDays (default 90) in short batches, so even a large backlog never holds the database's writer lock; the FcAeoCrawlerHit table is created automatically on startup.
  • Track additional bots (or mute built-ins) via AdditionalBots/DisabledBots, and turn the whole feature off with CrawlerAnalytics:Enabled = false.
  • Kept current — the built-in crawler list is generated from the community-maintained ai.robots.txt dataset (MIT) and refreshed each release, with Flowcourier's category and verification curation layered on top; new crawlers you need before the next release go in AdditionalBots.
  • Health checks — two checks under Settings → Health Checks, group "Flowcourier AEO":
    • AEO Client IP / Forwarded Headers warns when the site sits behind a reverse proxy but ASP.NET's forwarded-headers middleware isn't configured, i.e. verification and IP storage would see the proxy's address instead of the client's.
    • AEO robots.txt AI Crawler Audit reads wwwroot/robots.txt and checks it against the crawler registry with spec-correct group matching (a crawler's own User-agent group overrides *; on a tie, Allow wins). It warns when AI search/assistant crawlers are disallowed site-wide — the fetches that read and cite your pages — including the easy-to-miss User-agent: * / Disallow: / case that blocks every crawler not explicitly allowed. Blocking only training crawlers reports as informational: a common, deliberate policy that doesn't stop the site appearing in AI answers.
  • Reverse proxies / CDNs — the package trusts HttpContext.Connection.RemoteIpAddress and never parses X-Forwarded-For itself; configure ASP.NET's ForwardedHeadersMiddleware (or set ClientIpHeader when your edge injects a trustworthy single-IP header, and VerifiedBotHeader/CountryHeader if it offers those signals). Behind Cloudflare, set ClientIpHeader to CF-Connecting-IP. Until you do, the package detects that requests arrive from a known CDN edge network (Cloudflare's ranges are built in, refreshed from cloudflare.com/ips-*) and deliberately fails open: crawlers read as unverifiable and are never blocked or striked — because on such a site the "client" address is the CDN's own edge, and verifying it against a vendor's ranges would brand every legitimate crawler as a spoofer. The health check flags this state with the exact setting to add.

AI referrals & questions answered

AI crawler hits tell you what the engines read; the referral side tells you what humans did about it. When a visitor arrives from an AI surface — the Referer host (or utm_source) matches claude.ai, chatgpt.com, perplexity.ai, copilot.microsoft.com, gemini.google.com or your own ReferralHosts additions — the visit is recorded to FcAeoReferralHit with no IP address, no user agent and no query string (the path is stored without it, utm_source is parsed and the rest discarded), keeping the table outside personal-data scope by construction. Rows are kept forever by default (ReferralRetentionDays: 0).

The payoff is the "questions answered" correlation on the AI Traffic dashboard's Referrals tab — the same view as the crawler fetches, because fetch → citation → human arrival is one funnel: a user-triggered crawler fetch (intent user) followed within 30 minutes by an AI-referred human visit to the same path ≈ one question your content answered that converted into a visit — the closest observable proxy for "someone asked, the AI cited you, and they clicked through". The tab shows referrals over time, sources, top referred pages, the conversion list (page, fetching bot, referring surface, time gap) and the conversion rate against all user-triggered fetches.

Verified crawlers & spoof blocking

A large share of "AI crawler" traffic is fake: vulnerability scanners wear ClaudeBot/GPTBot/Amazonbot user agents to slip past naive bot filters while probing for /.env, private keys and admin panels. Real AI crawlers don't do that — and most vendors publish an official way to prove an address is theirs. AEO uses it.

Every request claiming a known AI crawler is checked against the vendor's mechanism — published IP-range lists for OpenAI, Anthropic, Perplexity, Google, Apple and DuckDuckGo; reverse DNS (PTR + forward-confirm) for Amazon and as Google/Apple fallback — and gets a verdict:

  • verified — the address matches the vendor's ranges or reverse DNS.
  • spoofed — the vendor's sources were available and the address definitively failed them. Blocked with 403 by default (BlockSpoofed is the kill-switch), and excluded from the dashboard's traffic aggregates so scan probes stop polluting "Top pages" and per-crawler counts (a distinct "Spoofed" slice keeps them visible).
  • unverifiable — no mechanism exists for that crawler (e.g. CCBot, Bytespider, Meta), sources are still loading, or DNS failed. Never blocked on verification grounds.

Three strikes → durable block. Spoofed verdicts are cached in memory (SpoofedTtlHours) — a scanner burst is blocked continuously but counts as one offense episode. An address that keeps coming back escalates after StrikesBeforeDurableBlock episodes (default 3) onto the durable block list (FcAeoBlockedClient), which survives restarts and expires on a rolling DurableBlockRetentionDays window. Durable blocks apply only to requests presenting an AI-crawler user agent — normal visitors from a shared or carrier-NAT address are never affected.

The Blocking page (Settings → Flowcourier → AEO Dashboard → Blocking) has two tabs. Clients: what's blocked right now (in-memory spoofers with strike counts), the durable block list (block/unblock any address manually), and the always-allowed list — addresses or CIDR ranges AEO never answers 403 (your monitoring, a staging network, a partner's fetcher; their visits are still recorded and verified). Crawlers: every tracked crawler with a permanent Block/Unblock toggle — an enforced 403, unlike robots.txt, for crawlers you never want (say, Bytespider), verified or not — plus "Block all crawlers": one click flips the policy to deny-by-default, blocking every recognised AI crawler including ones added in future registry updates, with per-crawler "Allow" exceptions.

Production-safety guarantees:

  • Fail-open everywhere. List fetch failures, DNS timeouts, missing source addresses, still-warming caches → unverifiable → served. Only a definitive mismatch blocks.
  • Zero request-path latency. Verdicts come from in-memory range checks and a bounded verdict cache; IP-list fetches and DNS lookups run out of band — the first request from an unknown address passes through while verification resolves. The crawler policy, client allowlist and block list are in-memory snapshots refreshed off the request path, so enforcement never waits for the database either.
  • IPs stay out of the database unless an address earns a durable block: verification caches are in-memory only, and with StrikesBeforeDurableBlock: 0 nothing IP-shaped is ever written.
  • Config-updatable vendors. Vendor list URLs, static CIDRs and rDNS suffixes are overridable per bot id under BotVerification:Bots — when a vendor publishes new ranges or moves a URL, it's a config line, not a package update.

Behind a reverse proxy or CDN? Enforcement uses HttpContext.Connection.RemoteIpAddress. If your site sits behind a proxy (Cloudflare, nginx, a load balancer), configure ASP.NET Core's Forwarded Headers middleware in the host site so the real client address reaches the app — AEO deliberately never parses X-Forwarded-For itself. Until that's in place, every request appears to come from the proxy: verification will typically read unverifiable (nothing breaks), but with a misconfigured chain set BlockSpoofed: false to be safe.

Markdown discovery & content negotiation

Every rendered HTML content page is self-describing:

GET /products/widget
→ Link: <https://your-site/products/widget.md>; rel="alternate"; type="text/markdown"
→ Vary: Accept
→ …<head> contains <link rel="alternate" type="text/markdown" href="/products/widget.md">…

and the Markdown side points back:

GET /products/widget.md
→ Link: <https://your-site/products/widget>; rel="canonical"
→ Link: <https://your-site/products/widget>; rel="alternate"; type="text/html"

A client can also skip the .md suffix entirely and negotiate:

GET /products/widget
Accept: text/markdown
→ 200 text/markdown, Vary: Accept, Content-Location: /products/widget.md

Negotiation is deliberately conservative: only an explicit text/markdown token that outranks HTML triggers it — browser Accept headers (text/html,…,*/*;q=0.8) can never be hijacked, because wildcards don't count toward Markdown. Pages that are no-indexed or on an excluded document type never advertise and never negotiate.

CDN note: negotiation adds Vary: Accept to HTML content pages so shared caches keep the two representations apart. If you front the site with a CDN and would rather not fragment its HTML cache, set EnableContentNegotiation: false (which also stops the Vary emission) — the .md URLs keep working.

HTTP caching

All AEO responses (.md pages, /llms.txt, /llms-full.txt) carry a weak ETag and Last-Modified (from the content's culture-aware update dates), answer If-None-Match / If-Modified-Since with 304 Not Modified, and support HEAD — so AI crawlers that re-fetch aggressively can revalidate cheaply. On publish, the cached llms.txt / llms-full.txt are cleared immediately (InvalidateCacheOnPublish), with the TTLs (LlmsTxtCacheSeconds / LlmsFullCacheSeconds) as a safety net.


How it works

Request ─┬─ /llms.txt ───────────► AeoContentService.GetLlmsTxt()  ─┐
         ├─ /llms-full.txt ──────► AeoContentService.GetLlmsFullTxt()├─► live content cache
         └─ /*.md ───────────────► MarkdownPageMiddleware ───────────┘   (scoped to site root)
                                          │
                                   MarkdownConverterService (HTML/blocks → Markdown)
  • AeoComposer binds options, registers the services, and installs an UmbracoPipelineFilter that maps the two endpoints and inserts the .md middleware (pre-routing) — this is what makes install zero-config.
  • AeoSiteResolver maps every request to the correct content root and culture using Umbraco's domain configuration (multi-site and multilingual safe), and seeds the VariationContext so content resolves in that culture.
  • AeoPageResolver maps a page path to published content within that scope — shared by the .md suffix handler and Accept: text/markdown negotiation.
  • AeoResponseHeadersMiddleware (post-routing) decorates rendered HTML content pages with the Markdown-alternate Link header and Vary: Accept; AeoAlternateLinkTagHelperComponent adds the matching <link> in <head>.
  • MarkdownConverterService turns a content node into Markdown by walking its properties generically.
  • AeoContentService selects the indexable pages and assembles llms.txt / llms-full.txt, caching per (site root, culture) with ETag/Last-Modified validators; AeoCacheInvalidationHandler clears those caches on publish.

Docs & support

  • Documentation: flowcourier.com/docs
  • Questions and support: flowcourier.com — we're a Copenhagen-based Umbraco consultancy and we build this tool for our own client work too.

License

Free to use, including commercially — not open source. See the LICENSE.md packed with this package. Paid Pro features and consulting are available from Flowcourier ApS.

© 2026 Flowcourier ApS. All rights reserved.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.6.0 259 10/11/2026
17.5.9-alpha.3 94 10/3/2026
17.5.9-alpha.1 82 9/24/2026
17.5.8 475 8/4/2026