The user wants a "mobile-first indexing audit" focused on three specific areas:
- Parity checks (comparing desktop vs. mobile content).
- Dynamic serving (how content is served based on user agent).
- Resources (accessibility of assets like CSS, JS, and images).
This needs to be a structured guide or checklist that an SEO or web developer would use to ensure their site is optimized for Google's mobile-first indexing.
1. Understand the Context:
- Mobile-First Indexing (MFI): Google predominantly uses the mobile version of the content for indexing and ranking.
- The Goal: Ensure Googlebot Smartphone can crawl, render, and index the site effectively, and that the mobile version provides a comparable experience to the desktop version.
2. Structure the Audit:
I should organize this logically, following the three specific requests plus an introduction and a technical verification section.
- Introduction: Briefly define MFI and why it matters.
- Phase 1: Parity Checks (Content & Structured Data): This addresses the "Parity" request.
- Phase 2: Technical Configuration (Dynamic Serving & Separate URLs): This addresses the "Dynamic Serving" request.
- Phase 3: Resources & Rendering: This addresses the "Resources" request.
- Phase 4: Verification Tools: How to actually perform the audit.
3. Drafting Content - Section by Section:
-
Phase 1: Parity Checks (Content is King)
- Concept: If it's on desktop, it should be on mobile.
- Key Points:
- Text content: Is the mobile text the same? (Often truncated).
- Headings (H1, H2): Are they consistent?
- Metadata: Titles and Meta Descriptions must match (or be equivalent).
- Internal Linking: Are all links present? (Mobile menus often hide links).
- Structured Data: Is the schema markup present on mobile? Are URLs correct in the schema?
- Images/Video: Alt text, dimensions.
-
Phase 2: Dynamic Serving (The "How")
- Definition: The server sends different HTML/CSS based on the User-Agent.
- The Audit Points:
- Vary Header: Crucial for caching. It tells CDN/Gogglebot that content changes based on UA.
- User-Agent Detection: Is the server correctly identifying
Googlebot Smartphone? (Common error: treating it as a desktop bot or blocking it).
- Redirects: Don't redirect mobile users (or Googlebot Smartphone) to a different mobile subdomain unless necessary (though Dynamic Serving usually implies same URL).
- Note: Need to distinguish between Dynamic Serving vs. Responsive Design vs. Separate URLs (m-dot). The prompt specifically asked for "Dynamic Serving," so I will focus heavily on the
Vary: User-Agent header and UA sniffing.
-
Phase 3: Resources (The "Fuel")
- Concept: Googlebot Smartphone needs to render the page to see the content.
- Key Points:
- Robots.txt: Are CSS/JS files blocked? (Old school SEO used to block them; this breaks rendering).
- Lazy Loading: Is it implemented correctly? (IntersectionObserver vs. Noscript).
- Load Speed: Core Web Vitals are vital here.
- Infinite Scroll: Googlebot doesn't scroll like a human. Pagination or pushState is needed.
-
Phase 4: Tools & Execution
- How do we check this?
- URL Inspection Tool (Search Console) - The "Live Test" is the gold standard.
- Mobile-Friendly Test (Legacy but still useful concepts).
- Web.dev / Lighthouse.
- Chrome DevTools (Device Mode).
4. Refining the "Dynamic Serving" Aspect:
The prompt asks for "parity checks, dynamic serving, and resources."
- Dynamic Serving specific audit: I need to ensure I mention checking the
Vary: User-Agent header explicitly. This is the #1 failure point for dynamic serving sites. Also, checking if the content served to "Googlebot Smartphone" is actually the mobile version.
5. Formatting:
Use Markdown. Bullet points, bold text for emphasis, and clear headers.
6. Self-Correction/Review during drafting:
-
Initial thought: Should I talk about m-dot sites?
-
Correction: The prompt asks for "Dynamic Serving." While I should mention m-dot in context of redirects, the core technical part of the audit is about sites that serve different HTML on the same URL. I will focus the "Dynamic Serving" section on that specific configuration, but keep the parity section applicable to all MFI strategies.
-
Refining Parity: Make sure to emphasize Structured Data. It's often overlooked on mobile templates.
7. Final Polish:
Add a summary or "Quick Wins" section? No, keep it as a strict audit checklist to match the prompt's professional tone.
(Self-Correction on "Resources"):
Make sure to explicitly mention Googlebot's ability to render. It's not just about the file existing, it's about it being crawlable.
8. Constructing the Response: (This aligns with the generated output).
- Title: Mobile-First Indexing Audit Framework.
- Section 1: Content Parity (Text, Meta, Links, Schema).
- Section 2: Dynamic Serving (Vary Header, UA Sniffing).
- Section 3: Resource Accessibility (JS/CSS blocking, Images).
- Section 4: Tools list.
Let's write it out.
Check: Did I miss anything?
- Core Web Vitals? I should mention them under resources/speed as they are mobile-first ranking factors.
- Intrusitve Interstitials? Good to mention under parity/UX, though less technical.
Okay, the plan is solid. Proceeding with generation.
This audit framework focuses on the technical architecture required to ensure Googlebot Smartphone can effectively crawl, render, and index your site under Mobile-First Indexing (MFI).
Use this checklist to validate your configuration, particularly if you are using Dynamic Serving (where the URL remains the same, but the server delivers different HTML/CSS based on the User-Agent).
1. Parity Checks (Content & Metadata)
Goal: Ensure the mobile version contains the same critical information as the desktop version.
A. Textual Content & Headings
- Visibility: Is all critical text visible in the mobile HTML source?
- Audit: Compare the word count of the
body content on Desktop vs. Mobile.
- Common Issue: Hiding content behind accordions, tabs, or "Read More" scripts. (Note: Google generally weights content hidden for UX on mobile equally, but it must be present in the DOM).
- Headings (H1-H6): Does the mobile version maintain the same heading structure?
- Audit: Check if the H1 on mobile matches the main topic of the desktop H1.
- Lazy Loading: Are images and text loaded lazily?
- Audit: Ensure lazy-loaded content has
loading="lazy" attributes or is triggered by IntersectionObserver (which Googlebot supports), rather than user clicks (which Googlebot often misses).
B. Metadata & Structured Data
- Title & Description: Do the
<title> and <meta name="description"> tags match on both versions?
- Warning: Shortening titles for mobile is common, but ensure keywords remain.
- Canonical Tags:
- Dynamic Serving: The canonical tag should point to the current page (self-referential).
- Separate Mobile Site (m-dot): The mobile canonical should point to the desktop version (consolidating signals), and the desktop should have an
alternate link to the mobile version.
- Schema Markup: Is the JSON-LD or Microdata present in the mobile HTML?
- Audit: Use the Rich Results Test. If schema is injected via JavaScript after load, ensure it executes in time for Googlebot.
C. Internal Linking
- Link Parity: Does the mobile version contain the same number of internal links?
- Issue: Mobile navigation often truncates footer links or sidebar links. If you remove links on mobile, PageRank flow changes for Googlebot.
- Fix: Ensure critical links are in the main navigation or footer, not hidden in hamburger menus that require specific user interaction to be parsed.
2. Dynamic Serving Configuration
Goal: Verify that the server correctly identifies Googlebot Smartphone and serves the mobile layout without triggering cloaking penalties.
A. The "Vary" Header (Critical)
- Check: Does the server response include
Vary: User-Agent?
- Why: This tells intermediate caches (CDNs) and Googlebot that the content changes based on the User-Agent string. Without this, Google might cache the desktop version and serve it to mobile users, or vice versa.
B. User-Agent Detection
- Server Logic: Does your server logic recognize
Googlebot-Mobile or Googlebot Smartphone?
- Audit: Look at your
.htaccess, Nginx config, or backend logic (PHP/Python).
- Warning: Googlebot Smartphone "spoofs" a generic Android user agent. Your server must be updated to recognize the identity string containing "Googlebot" rather than just looking for "Mobile" or "Android."
C. Cloaking Check
- Consistency: Ensure the content served to
Googlebot/2.1; +http://www.google.com/bot.html (Smartphone) is identical to what is served to a real human user on a Chrome Android browser.
- Tool: Use the URL Inspection Tool in Google Search Console.
- Inspect URL.
- "Test Live URL".
- Toggle "Screenshot" to see what Googlebot sees.
- Compare this to a manual Chrome DevTools simulation on your phone.
3. Resources & Rendering
Goal: Ensure Googlebot can download and execute the assets required to paint the mobile layout.
A. CSS & JavaScript Access
- Robots.txt: Check if your
robots.txt file is blocking CSS or JS files.
- Audit: Look for
Disallow: /assets/ or Disallow: /*.css$.
- Action: Googlebot needs to see the CSS to understand if an element is hidden (
display: none) or visible. If you block CSS, Google might index hidden text (spam) or ignore visible text.
- Heavy JS Frameworks: If using React, Angular, or Vue for mobile rendering:
- Audit: Check Server-Side Rendering (SSR) or Dynamic Rendering. Googlebot has limited patience for heavy JS execution.
B. Image Optimization
- Source Sets: Are you using
srcset and sizes attributes?
- Why: MFI prioritizes images that fit the viewport. Serving a 4MB desktop image to a mobile bot hurts "Largest Contentful Paint" (LCP).
- Audit: Ensure the mobile HTML references mobile-optimized image URLs, not desktop URLs that are simply resized via CSS.
C. Resource Load Speed
- Latency: Mobile crawling is often slower.
- Audit: Check the "Crawl Stats" report in Search Console.
- Action: If Time To First Byte (TTFB) is high, Googlebot may abandon the render before the mobile content appears.
Audit Workflow Summary
To perform this audit, execute these three steps:
-
The "Inspect" Test:
- Go to Google Search Console -> URL Inspection.
- Enter your URL.
- Click "View Crawled Page".
- Check the HTTP Response code for the
Vary header.
- Compare the HTML code to what you see on your actual phone.
-
The "Mobile-Friendly" Test:
- Run the URL through Google’s Mobile-Friendly Test.
- Look for "Page resources couldn't be loaded" errors (indicating blocked resources).
-
The Parity Diff:
- Scrape the
H1, Word Count, and Internal Link Count from the Desktop User-Agent.
- Scrape the same metrics from the Mobile User-Agent.
- Result: They should match (or the mobile version should be more comprehensive, never less).