---
title: "Resource Analysis"
url: "https://docs.speedinchinaplugin.com/features/resource-analysis/"
---
## What It Does

The Resource Analysis feature scans your WordPress site for external services that are **blocked or severely throttled** by the Great Firewall of China. It looks at your site's frontend HTML, enqueued scripts and stylesheets, active theme files, installed plugins, and WordPress settings to build a comprehensive report.

**This feature is free.** Resource analysis is available on all plans, including the free version.

## Running an Analysis

Navigate to **Speed in China → Optimizations**.

Scroll to the **China Resource Analysis** section.

Click **Run Analysis**.

The scan takes a few seconds, then displays results grouped by severity.

## What Gets Scanned

The analysis is performed in multiple passes, each checking a different layer of your site:

### 1\. Frontend HTML Scan

Fetches your site's homepage and scans the HTML source for references to blocked domains. This catches resources loaded via inline `<script>` tags, `<link>` elements, image sources, iframes, and more.

### 2\. Enqueued Scripts & Styles

Checks all WordPress-registered scripts (`wp_scripts`) and stylesheets (`wp_styles`) for URLs matching blocked domains. This catches resources that themes and plugins have properly enqueued via WordPress APIs.

### 3\. Gravatar Check

Checks if WordPress Avatars (Gravatars) are enabled. Gravatars load from `gravatar.com`, which is blocked in China. If enabled, you'll receive a recommendation to disable them or use a local avatar plugin.

### 4\. Theme File Scan

Scans your active theme's files for hardcoded references to blocked services like Google Analytics (`google-analytics.com`, `googletagmanager.com`) and Facebook Pixel (`connect.facebook.net`). These are frequently embedded directly in theme files rather than loaded via plugins.

### 5\. Plugin Scan

Checks all active plugins for known China-incompatible patterns. Identifies plugins that load scripts or resources from blocked domains.

## Blocked Domains Detected

The analysis checks for these commonly blocked services:

| Service | Domains | Impact |
| --- | --- | --- |
| **Google Fonts** | `fonts.googleapis.com`, `fonts.gstatic.com` | Broken typography, page hang |
| **Google Analytics** | `google-analytics.com`, `googletagmanager.com` | Delayed page load |
| **Google APIs** | `maps.googleapis.com`, `ajax.googleapis.com` | Missing maps, broken scripts |
| **Google reCAPTCHA** | `google.com/recaptcha` | Forms unusable |
| **YouTube** | `youtube.com`, `youtu.be` | Broken embeds |
| **Facebook** | `facebook.com`, `connect.facebook.net`, `fbcdn.net` | Pixel failure, broken social |
| **Twitter/X** | `twitter.com`, `platform.twitter.com` | Broken embeds |
| **Instagram** | `instagram.com` | Broken embeds |
| **Gravatar** | `gravatar.com`, `secure.gravatar.com` | Missing avatars, slow pages |

## Severity Levels

Issues are categorized by severity to help you prioritize:

*   **Critical** — Resources that will completely fail to load and may block page rendering (e.g., Google Fonts CSS, Google reCAPTCHA).
*   **Warning** — Resources that will fail silently but cause functionality loss (e.g., Google Analytics, Facebook Pixel).
*   **Info** — Resources that may cause minor issues or are already handled by the plugin (e.g., detected Google Fonts that are being localized).

Each issue includes the service name, the specific domain detected, where it was found (frontend HTML, theme file, plugin, etc.), and a recommended action.
