{{define "content"}}{{with .Data}}{{$d := .}}

Audit

Every page Supermarket can find on the site (the sitemap's, the ones Google shows, and the pages they link to, up to {{.MaxPages}}), checked for what keeps a page from ranking or being clicked, and whether AI assistants can read and cite the site. Issues on the pages that bring traffic come first: their clicks and impressions are from Search Console's last 90 days. It runs on its own once a week.

{{if not .Sites}}

Add your websites to the profile first.

{{else}} {{if gt (len .Sites) 1}}{{end}}
{{.Current.URL}}{{if not .Current.Property}} (no Search Console property: issues aren't ranked by traffic){{end}}
{{with .Audit}} {{if eq .Status "running"}}

auditing… Started {{ago .StartedAt}}. This page updates when it's done.

{{else if eq .Status "failed"}}

failed {{ago .StartedAt}}: {{.Error}}

{{else}} {{$c := .Counts}}

Audited {{ago .FinishedAt}} · {{len .Pages}} pages read

Errors{{or (index $c "error") 0}} Warnings{{or (index $c "warning") 0}} Notices{{or (index $c "notice") 0}} All{{len .Issues}}

AI visibility

The basics

{{if .Speed}}

Speed (mobile)

{{range .Speed}} {{if .Error}} {{else if .Field}} {{else}}{{end}}{{end}}
PageLargest paintInteractionLayout shiftLab score
{{pagePath .Page}}{{.Error}}{{.LCP}} ms {{.LCPRating}}{{.INP}} ms {{.INPRating}}{{dec1 (cls .CLS)}} {{.CLSRating}}{{.Score}}Not enough real visitors for Google's field data.{{.Score}}
{{end}}

Issues{{with $d.Severity}}: {{.}}s{{end}}

{{if $d.Shown}} {{range $d.Shown}}{{end}}
IssuePageClicksImpressions
{{.Severity}} {{.Title}}{{with .Detail}}
{{truncate 400 .}}{{end}}
{{pagePath .Page}} {{if .Traffic.Impressions}}{{num .Traffic.Clicks}}{{else}}·{{end}} {{if .Traffic.Impressions}}{{num .Traffic.Impressions}}{{else}}·{{end}}
{{with $d.More}}

And {{.}} more.

{{end}} {{else}}

No issues{{with $d.Severity}} of this kind{{end}}.

{{end}} {{end}} {{else}}

Not audited yet. Audit now reads the site; it takes a few minutes.

{{end}} {{end}} {{end}}{{end}}