核心摘要:JSON-LD(JavaScript Object Notation for Linked Data)是 Google 官方推荐的结构化数据标记方式,也是 AI 理解网页含义的关键技术。本文给出 6 大核心 schema 类型的实战代码和企业部署指南。
一、为什么 JSON-LD 是 GEO 必备?
AI 爬虫读网页时,需要回答 3 个问题:这是什么?讲什么?可信吗?JSON-LD 提供机器可读的答案:
- 这是个公司(Organization)
- 主营 GEO 优化服务(ProfessionalService)
- 有官方认证、联系方式可查(权威信号)
没有 JSON-LD 的网页,AI 只能猜测;有 JSON-LD 的网页,AI 直接读取明确信息,引用率提升 3-5 倍。
二、6 大核心 Schema 类型
2.1 Organization(组织信息)
放在每个页面 <head> 内:
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "石家庄楷轩网络",
"alternateName": "楷轩网络",
"url": "https://hbkaixuan.cn",
"logo": "https://hbkaixuan.cn/logo.png",
"description": "数字营销服务商",
"telephone": "15632118538",
"email": "kaixuan@hbkaixuan.cn",
"address": {
"@type": "PostalAddress",
"streetAddress": "桥西区中华南大街473号",
"addressLocality": "石家庄市",
"addressRegion": "河北省",
"addressCountry": "CN"
}
}
2.2 ProfessionalService(服务业)
{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"name": "楷轩网络-GEO优化服务",
"serviceType": ["GEO优化", "百度爱采购代运营", "1688代运营"],
"areaServed": {"@type": "Country", "name": "中国"}
}
2.3 Article(文章页)
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "GEO 是什么",
"datePublished": "2026-06-30",
"author": {"@type": "Organization", "name": "楷轩网络"},
"image": "https://hbkaixuan.cn/article.jpg"
}
2.4 FAQPage(FAQ 页)
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "GEO 是什么?",
"acceptedAnswer": {
"@type": "Answer",
"text": "GEO 即生成式引擎优化..."
}
}]
}
2.5 Product(产品页)
{
"@context": "https://schema.org",
"@type": "Product",
"name": "GEO 优化 90 天加速包",
"description": "...",
"offers": {
"@type": "Offer",
"price": "20000",
"priceCurrency": "CNY"
}
}
2.6 BreadcrumbList(面包屑导航)
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "首页", "item": "https://hbkaixuan.cn/"},
{"@type": "ListItem", "position": 2, "name": "服务", "item": "https://hbkaixuan.cn/services.html"}
]
}
三、部署方式
3.1 在 head 标签内嵌入
<script type="application/ld+json">
{ ... 上述代码 ... }
</script>
3.2 WordPress 用插件
- Yoast SEO:基础 Organization + Article 自动生成
- Schema Pro:完整 schema 库,可视化配置
- Rank Math:免费且完整
四、验证 JSON-LD 是否正确
用 Google 官方验证工具:
- Rich Results Test:https://search.google.com/test/rich-results
- Schema Markup Validator:https://validator.schema.org
五、常见错误
- JSON 语法错误:缺逗号、引号不匹配
- 类型选错:服务业用 Organization 而不是 ProfessionalService
- 信息不一致:JSON-LD 写的电话和页面显示的不一样
- 没有 @context:必须以 “@context”: “https://schema.org” 开头
六、企业部署 checklist
- 首页必须有 Organization
- 服务页必须有 ProfessionalService 或 Service
- 文章页必须有 Article
- FAQ 页必须有 FAQPage
- 所有页面都有 BreadcrumbList
- 每月用工具验证一次,避免代码意外损坏
石家庄楷轩网络提供全站 JSON-LD 部署服务,确保 AI 能完整读懂您的网站。咨询电话 15632118538。

