{% extends "base.html" %} {% import "_macros.html" as m %} {% block title %}{{ site.name }} — SEO Control Room{% endblock %} {% block content %}
{% if site.project %}{{ site.project.client.name }} › {{ site.project.name }}{% else %}Needs Action — unassigned{% endif %}

{{ site.name }}

Download report (PDF) {% if site.gsc_site_url %}
{% endif %}
{% if not site.project %}

Assign to a client and project

This site was auto-discovered from Search Console and isn't linked to a client yet — assign it below to clear "Needs Action".

{% if assignable_projects %}
{% else %}
No clients/projects exist yet. Create one on Manage sites, then come back here.
{% endif %}
{% endif %}

Traffic & search performance — last 30 days

PageSpeed Insights (mobile)

{% set mobile_scores = psi_scores|selectattr('strategy', 'equalto', 'mobile')|list %} {% if mobile_scores %} {% set p = mobile_scores[0] %}
{{ p.performance if p.performance is not none else '—' }}
Performance
{{ p.accessibility if p.accessibility is not none else '—' }}
Accessibility
{{ p.best_practices if p.best_practices is not none else '—' }}
Best practices
{{ p.seo if p.seo is not none else '—' }}
SEO

LCP {{ p.lcp }}s · CLS {{ p.cls }} · INP/TBT {{ p.inp }}ms · checked {{ p.checked_at.strftime('%d %b %Y') if p.checked_at else '' }}

{% else %}
No PageSpeed data yet. Run a check to pull it.
{% endif %}

Site health

{% if latest_health %}
{{ latest_health.http_status }}
HTTP status
{{ latest_health.response_time_ms }}ms
Response time
{{ latest_health.broken_links_count }}
Broken links
{% if health_issues %}
{% for issue in health_issues %}
{{ issue }}
{% endfor %}
{% else %}
No issues found
{% endif %} {% else %}
No health check yet. Run a check to pull it.
{% endif %}

Design & mobile-responsiveness signals

Technical signals only — viewport tag, CSS breakpoints, and PageSpeed's mobile score. Not a visual review.

{% if latest_health %}
{{ 'Yes' if latest_health.has_viewport_meta else 'No' }}
Viewport meta tag
{{ latest_health.media_query_count }}
CSS breakpoints found
{{ latest_health.word_count }}
Word count
{% if mobile_scores %}
{{ mobile_scores[0].performance if mobile_scores[0].performance is not none else '—' }}
PSI mobile score
{% endif %}
{% else %}
No design/mobile signals yet. Run a check to pull them.
{% endif %}

Indexing status — why pages aren't indexed

{% if indexed_pages %}
{% for p in indexed_pages %} {% endfor %}
URLStatusCoverageReasonLast crawled
{{ p.url }} {{ m.verdict_badge(p.verdict) }} {{ p.coverage_state or '—' }} {{ p.reason or '—' }} {{ p.last_crawl_time.strftime('%d %b') if p.last_crawl_time else 'never' }}
{% else %}
No indexing data yet. Run a check to inspect key URLs.
{% endif %}

Top keywords (Search Console)

{% if keywords %}
{% for k in keywords[:25] %} {% endfor %}
QueryPageClicksImpressionsCTRAvg. position
{{ k.search_query }} {{ k.page }} {{ k.clicks }} {{ k.impressions }} {{ k.ctr }}% {{ k.position }}
{% else %}
No keyword data yet. Run a check to pull Search Console queries.
{% endif %}
{% if broken_links %}

Broken links (sample)

{% for b in broken_links %} {% endfor %}
URLStatus
{{ b.url }}{{ b.status }}
{% endif %}

Competitors

Add competitor URLs to benchmark the same technical/mobile signals and feed the AI recommendations below.

{% if competitor_rows %}
{% for comp, snap in competitor_rows %} {% endfor %}
TitleWordsH1sViewportBreakpointsPSI perfPSI SEO
Us {{ site.name }} {{ latest_health.word_count if latest_health else '—' }} {{ latest_health.h1_count if latest_health else '—' }} {{ 'Yes' if latest_health and latest_health.has_viewport_meta else 'No' }} {{ latest_health.media_query_count if latest_health else '—' }} {{ mobile_scores[0].performance if mobile_scores and mobile_scores[0].performance is not none else '—' }} {{ mobile_scores[0].seo if mobile_scores and mobile_scores[0].seo is not none else '—' }}
Comp {{ comp.url }} {{ snap.word_count if snap else '—' }} {{ snap.h1_count if snap else '—' }} {{ 'Yes' if snap and snap.has_viewport_meta else ('No' if snap else '—') }} {{ snap.media_query_count if snap else '—' }} {{ snap.psi_performance if snap and snap.psi_performance is not none else '—' }} {{ snap.psi_seo if snap and snap.psi_seo is not none else '—' }}
{% else %}
No competitors added yet.
{% endif %}

AI recommendations

{% if not has_anthropic_key %}
Add an Anthropic API key on the Settings page to enable this — it turns the indexing issues, health signals, and competitor benchmarks above into specific fixes.
{% else %}
{% if latest_ai %}

Generated {{ latest_ai.generated_at.strftime('%d %b %Y, %H:%M') }} · {{ latest_ai.model_used }}

{{ latest_ai.content|markdown|safe }}
{% else %}
No AI report yet — click above to generate one from the current data.
{% endif %} {% endif %}

Recent fetch log

{% if logs %}
{% for l in logs %} {% endfor %}
SourceStatusMessageWhen
{{ l.source }} {% if l.status == 'success' %}ok{% else %}error{% endif %} {{ l.message or '' }} {{ l.run_at.strftime('%d %b %H:%M') }}
{% else %}
No fetches logged yet.
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}