{
    "schema_version": "search-visibility-case-snapshot/v1",
    "published_at": "2026-10-28",
    "latest_observed_date": "2026-10-25",
    "domain": "bellyupbirmingham.com",
    "source": "Google Search Console records queried from the live Digital Karma Data Warehouse on October 28, 2026",
    "windows": {
        "observed": {
            "start": "2026-10-16",
            "end": "2026-10-25",
            "days": 10
        },
        "earlier_period": "Not available in the imported records; not a zero baseline or a verified launch date"
    },
    "definitions": {
        "page_impressions": "Sum of imported page-level impressions for the named host and its www equivalent. Subdomains excluded. These are page appearances, not unique people or property-aggregated impressions.",
        "query_impressions": "Disclosed property-level query impressions; not added to page impressions or query-page impressions.",
        "position": "Sum of daily position times impressions divided by impressions. Lower is closer to the top. A window average is not a guaranteed current rank.",
        "clicks": "Recorded Google search clicks, not inquiries, sales or confirmed distinct people.",
        "ai": "No AI citation or AI recommendation claim is made from these records."
    },
    "selection": "Examples selected for different practical lessons, not a portfolio-wide leaderboard. Query and page lists are selected or top-impression subsets; period totals and daily totals retain the full scoped population.",
    "period_totals": [
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "period": "2026-09-28 to 2026-10-25",
            "first_date": "2026-10-16",
            "last_date": "2026-10-25",
            "days": 10,
            "rows_count": 1610,
            "impressions": "9405",
            "clicks": "46",
            "weighted_position": "11.24"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "period": "2026-09-28 to 2026-10-25",
            "first_date": "2026-10-16",
            "last_date": "2026-10-25",
            "days": 10,
            "rows_count": 1960,
            "impressions": "6421",
            "clicks": "24",
            "weighted_position": "12.69"
        }
    ],
    "daily_totals": [
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-17",
            "row_count": 176,
            "impressions": "880",
            "clicks": "5",
            "position_numerator": "10167.0032"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-22",
            "row_count": 173,
            "impressions": "1411",
            "clicks": "9",
            "position_numerator": "15811.9929"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-16",
            "row_count": 64,
            "impressions": "182",
            "clicks": "1",
            "position_numerator": "1864.9998"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-19",
            "row_count": 173,
            "impressions": "747",
            "clicks": "4",
            "position_numerator": "8391.0017"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-20",
            "row_count": 173,
            "impressions": "835",
            "clicks": "3",
            "position_numerator": "9588.9993"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-23",
            "row_count": 189,
            "impressions": "1734",
            "clicks": "10",
            "position_numerator": "19085.9644"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-24",
            "row_count": 172,
            "impressions": "1049",
            "clicks": "4",
            "position_numerator": "11893.9966"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-21",
            "row_count": 151,
            "impressions": "972",
            "clicks": "4",
            "position_numerator": "9959.0037"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-25",
            "row_count": 164,
            "impressions": "854",
            "clicks": "3",
            "position_numerator": "10135.9926"
        },
        {
            "grain": "page",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-18",
            "row_count": 175,
            "impressions": "741",
            "clicks": "3",
            "position_numerator": "8813.9993"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-19",
            "row_count": 210,
            "impressions": "476",
            "clicks": "2",
            "position_numerator": "6288.9997"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-20",
            "row_count": 211,
            "impressions": "575",
            "clicks": "2",
            "position_numerator": "7505.0011"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-21",
            "row_count": 186,
            "impressions": "623",
            "clicks": "1",
            "position_numerator": "7144.9995"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-22",
            "row_count": 216,
            "impressions": "959",
            "clicks": "4",
            "position_numerator": "11771.9988"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-23",
            "row_count": 249,
            "impressions": "1310",
            "clicks": "9",
            "position_numerator": "14915.9866"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-24",
            "row_count": 191,
            "impressions": "707",
            "clicks": "2",
            "position_numerator": "8881.9946"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-16",
            "row_count": 61,
            "impressions": "111",
            "clicks": "0",
            "position_numerator": "1623.0003"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-17",
            "row_count": 224,
            "impressions": "575",
            "clicks": "1",
            "position_numerator": "7701.9972"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-18",
            "row_count": 224,
            "impressions": "492",
            "clicks": "2",
            "position_numerator": "7279.0001"
        },
        {
            "grain": "query",
            "domain": "bellyupbirmingham.com",
            "date": "2026-10-25",
            "row_count": 188,
            "impressions": "593",
            "clicks": "1",
            "position_numerator": "8355.0019"
        }
    ],
    "selected_queries": [
        {
            "domain": "bellyupbirmingham.com",
            "query": "the harrington pub",
            "period": "current",
            "impressions": "487",
            "clicks": "7",
            "position": "10.11",
            "rn": 1
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "the harrington pub birmingham menu",
            "period": "current",
            "impressions": "452",
            "clicks": "2",
            "position": "8.39",
            "rn": 2
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "harrington pub",
            "period": "current",
            "impressions": "304",
            "clicks": "0",
            "position": "10.29",
            "rn": 3
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "harrington pub birmingham",
            "period": "current",
            "impressions": "230",
            "clicks": "0",
            "position": "10.83",
            "rn": 4
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "taiwan street food birmingham menu",
            "period": "current",
            "impressions": "212",
            "clicks": "0",
            "position": "6.46",
            "rn": 5
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "daiquiri factory",
            "period": "current",
            "impressions": "160",
            "clicks": "0",
            "position": "6.33",
            "rn": 6
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "foo hai menu",
            "period": "current",
            "impressions": "159",
            "clicks": "0",
            "position": "9.51",
            "rn": 7
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "bandido brunch and social",
            "period": "current",
            "impressions": "135",
            "clicks": "1",
            "position": "7.32",
            "rn": 8
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "the harrington pub birmingham",
            "period": "current",
            "impressions": "133",
            "clicks": "1",
            "position": "11.07",
            "rn": 9
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "taiwan street food birmingham al",
            "period": "current",
            "impressions": "130",
            "clicks": "0",
            "position": "10.02",
            "rn": 10
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "205 wings menu",
            "period": "current",
            "impressions": "101",
            "clicks": "0",
            "position": "10.34",
            "rn": 11
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "tasty china",
            "period": "current",
            "impressions": "97",
            "clicks": "0",
            "position": "8.36",
            "rn": 12
        }
    ],
    "selected_pages": [
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/harrington-pub/",
            "period": "current",
            "impressions": "2340",
            "clicks": "17",
            "position": "9.27",
            "rn": 1
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/taiwan-street-food/",
            "period": "current",
            "impressions": "622",
            "clicks": "5",
            "position": "8.13",
            "rn": 2
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/bandido-brunch-and-social/",
            "period": "current",
            "impressions": "382",
            "clicks": "2",
            "position": "8.13",
            "rn": 3
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/lucky-stranger/",
            "period": "current",
            "impressions": "354",
            "clicks": "1",
            "position": "10.21",
            "rn": 4
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/daiquiri-factory/",
            "period": "current",
            "impressions": "237",
            "clicks": "0",
            "position": "6.99",
            "rn": 5
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/foo-hai/",
            "period": "current",
            "impressions": "214",
            "clicks": "0",
            "position": "9.66",
            "rn": 6
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/ralphs-listening-room/",
            "period": "current",
            "impressions": "203",
            "clicks": "0",
            "position": "9.71",
            "rn": 7
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/fridas-cocina-cantina/",
            "period": "current",
            "impressions": "185",
            "clicks": "0",
            "position": "8.27",
            "rn": 8
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/icon-birmingham/",
            "period": "current",
            "impressions": "181",
            "clicks": "0",
            "position": "7.53",
            "rn": 9
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/tasty-china/",
            "period": "current",
            "impressions": "161",
            "clicks": "0",
            "position": "8.66",
            "rn": 10
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/205-wings/",
            "period": "current",
            "impressions": "141",
            "clicks": "0",
            "position": "10.28",
            "rn": 11
        },
        {
            "domain": "bellyupbirmingham.com",
            "page": "https://bellyupbirmingham.com/places/macs-one-stop/",
            "period": "current",
            "impressions": "139",
            "clicks": "0",
            "position": "8.27",
            "rn": 12
        }
    ],
    "query_page_associations": [
        {
            "domain": "bellyupbirmingham.com",
            "query": "bandido brunch and social",
            "page": "https://bellyupbirmingham.com/places/bandido-brunch-and-social/",
            "period": "current",
            "impressions": "135",
            "clicks": "1",
            "position": "7.32"
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "taiwan street food birmingham menu",
            "page": "https://bellyupbirmingham.com/places/taiwan-street-food/",
            "period": "current",
            "impressions": "211",
            "clicks": "0",
            "position": "6.43"
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "taiwan street food birmingham menu",
            "page": "https://bellyupbirmingham.com/guides/avondale-and-forest-park-birmingham-restaurants/",
            "period": "current",
            "impressions": "2",
            "clicks": "0",
            "position": "12.00"
        },
        {
            "domain": "bellyupbirmingham.com",
            "query": "the harrington pub",
            "page": "https://bellyupbirmingham.com/places/harrington-pub/",
            "period": "current",
            "impressions": "487",
            "clicks": "7",
            "position": "10.11"
        }
    ],
    "refresh": {
        "instruction": "Preserve this dated file. Query the same grains, sites and host filters for the next two complete 28-day windows after checking import coverage. Publish a new dated snapshot and append the case update history. Do not convert missing earlier data to zero.",
        "birmingham": "Wait for 28 days of imported records before making a full-period comparison.",
        "validation": "Reconcile daily sums to period totals; calculate CTR from summed clicks and impressions; weight average position by impressions; inspect current destinations for historical URLs.",
        "sql": {
            "periods": "SELECT 'page' grain,s.domain,CASE WHEN p.date<'2026-09-28' THEN '2026-08-31 to 2026-09-27' ELSE '2026-09-28 to 2026-10-25' END period,MIN(p.date) first_date,MAX(p.date) last_date,COUNT(DISTINCT p.date) days,COUNT(*) rows_count,SUM(p.impressions) impressions,SUM(p.clicks) clicks,ROUND(SUM(p.position*p.impressions)/NULLIF(SUM(p.impressions),0),2) weighted_position FROM gsc_page_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' AND SUBSTRING_INDEX(SUBSTRING_INDEX(p.page,'/',3),'/',-1) IN (s.domain,CONCAT('www.',s.domain)) GROUP BY s.domain,3\nUNION ALL\nSELECT 'query',s.domain,CASE WHEN p.date<'2026-09-28' THEN '2026-08-31 to 2026-09-27' ELSE '2026-09-28 to 2026-10-25' END,MIN(p.date),MAX(p.date),COUNT(DISTINCT p.date),COUNT(*),SUM(p.impressions),SUM(p.clicks),ROUND(SUM(p.position*p.impressions)/NULLIF(SUM(p.impressions),0),2) FROM gsc_query_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' GROUP BY s.domain,3",
            "daily": "SELECT 'page' grain,s.domain,p.date,COUNT(*) row_count,SUM(p.impressions) impressions,SUM(p.clicks) clicks,SUM(p.position*p.impressions) position_numerator FROM gsc_page_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' AND SUBSTRING_INDEX(SUBSTRING_INDEX(p.page,'/',3),'/',-1) IN (s.domain,CONCAT('www.',s.domain)) GROUP BY s.domain,p.date\nUNION ALL\nSELECT 'query',s.domain,p.date,COUNT(*),SUM(p.impressions),SUM(p.clicks),SUM(p.position*p.impressions) FROM gsc_query_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' GROUP BY s.domain,p.date",
            "pages": "WITH x AS (SELECT s.domain,p.page,CASE WHEN p.date<'2026-09-28' THEN 'previous' ELSE 'current' END period,SUM(p.impressions) impressions,SUM(p.clicks) clicks,ROUND(SUM(p.position*p.impressions)/NULLIF(SUM(p.impressions),0),2) position FROM gsc_page_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' AND SUBSTRING_INDEX(SUBSTRING_INDEX(p.page,'/',3),'/',-1) IN (s.domain,CONCAT('www.',s.domain)) GROUP BY s.domain,p.page,period), ranked AS (SELECT x.*,ROW_NUMBER() OVER (PARTITION BY domain,period ORDER BY impressions DESC) rn FROM x) SELECT * FROM ranked WHERE rn<=12 ORDER BY domain,period,rn",
            "queries": "WITH x AS (SELECT s.domain,p.query,CASE WHEN p.date<'2026-09-28' THEN 'previous' ELSE 'current' END period,SUM(p.impressions) impressions,SUM(p.clicks) clicks,ROUND(SUM(p.position*p.impressions)/NULLIF(SUM(p.impressions),0),2) position FROM gsc_query_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' GROUP BY s.domain,p.query,period), ranked AS (SELECT x.*,ROW_NUMBER() OVER (PARTITION BY domain,period ORDER BY impressions DESC) rn FROM x) SELECT * FROM ranked WHERE rn<=12 ORDER BY domain,period,rn",
            "rsl": "SELECT query,CASE WHEN date<'2026-09-28' THEN 'previous' ELSE 'current' END period,SUM(impressions) impressions,SUM(clicks) clicks,ROUND(SUM(position*impressions)/SUM(impressions),2) position FROM gsc_query_daily WHERE site_id=24 AND date BETWEEN '2026-08-31' AND '2026-10-25' AND (query LIKE '%florida%' OR query LIKE '%seo%') GROUP BY query,period HAVING (SUM(position*impressions)/SUM(impressions)<=15 AND SUM(impressions)>=5) OR query='florida seo' ORDER BY query,period",
            "associations": "SELECT s.domain,p.query,p.page,CASE WHEN p.date<'2026-09-28' THEN 'previous' ELSE 'current' END period,SUM(p.impressions) impressions,SUM(p.clicks) clicks,ROUND(SUM(p.position*p.impressions)/SUM(p.impressions),2) position FROM gsc_query_page_daily p JOIN sites s ON s.id=p.site_id WHERE p.site_id IN (41,24,42410) AND p.date BETWEEN '2026-08-31' AND '2026-10-25' AND ((p.site_id=41 AND p.query IN ('search visibility','searchmetrics seo visibility','search visibility strategy')) OR (p.site_id=24 AND p.query IN ('florida seo','seo pahokee','seo receipts')) OR (p.site_id=42410 AND p.query IN ('the harrington pub','taiwan street food birmingham menu','bandido brunch and social'))) GROUP BY s.domain,p.query,p.page,period ORDER BY s.domain,p.query,period,impressions DESC"
        }
    }
}
