如何在 Postoria 中使用 Google Business Profile 地点变量
Google Business Profile 地点变量让你只需编写一份文案模板,Postoria 就会在发布时,为每个已选 Google Business Profile 地点分别替换对应的地点信息。
如果你管理多个地点,并希望每篇帖子包含正确的商家名称、城市、地址、网站、地图链接、评价链接或其他地点专属信息,这项功能会很实用。
例如,你不必为每个地点单独编写文案,只需写下:
本周欢迎到访位于 {{location.locality}} 的 {{location.name}}。
发布时,Postoria 会使用每个已选地点的实时 Google Business Profile 数据替换变量。
开始之前
使用地点变量前,请了解以下要点:
- 地点变量适用于 Google Business Profile 文案。
- 地点变量在帖子发布时替换。
- 如果选择多个 Google Business Profile 地点,每个地点都会获得各自替换后的版本。
- 预览显示的是模板,而不是某个地点的最终版本。
- Postoria 使用发布时最新的 Google Business Profile 地点数据。
- 如果无法为某个地点解析变量,该地点的 Google Business Profile 发布尝试会失败,不会发布不完整的文本。
- 按钮 URL 字段只支持
{{location.website_url}}。 - 地点变量不适用于评论,也不适用于其他平台的帖子。
何时使用地点变量
如果同一篇帖子需要提到各 Google Business Profile 地点不同的信息,可以使用地点变量。
常见用途包括:
- 本地门店公告
- 多地点促销
- 地点专属服务更新
- 包含城市、区域或地址的帖子
- 链接到某个地点的网站、地图页或评价页的帖子
- 适用于多个 Google Business Profile 商家资料的可重复使用模板
例如:
位于 {{location.locality}} 的 {{location.name}} 有新动态。
在这里找到我们: {{location.maps_url}}
如果将这篇帖子发布到多个 Google Business Profile 地点,Postoria 会为每个地点生成单独的版本。
支持的地点变量
Postoria 支持以下 Google Business Profile 地点变量:
| 变量 | 插入的内容 |
|---|---|
{{location.name}} | 商家名称 |
{{location.address}} | 完整格式化地址 |
{{location.address_lines}} | 街道地址行 |
{{location.locality}} | 城市或所在地 |
{{location.area}} | 区域或下级地区 |
{{location.administrative_area}} | 州、省、县或行政区 |
{{location.postal_code}} | 邮政编码 |
{{location.region_code}} | 国家或地区代码 |
{{location.website_url}} | 网站 URL |
{{location.category}} | 主要商家类别 |
{{location.maps_url}} | Google 地图 URL |
{{location.review_url}} | Google 评价 URL |
{{location.lat}} | 纬度 |
{{location.lng}} | 经度 |
{{location.gps}} | 纬度和经度组合 |
{{location.language_code}} | 地点语言代码 |
{{location.description}} | 商家描述 |
{{location.service_areas}} | 服务区域(如有) |
请严格按上述名称使用变量。变量名称区分大小写。
如何在文案中添加地点变量
- 打开 Postoria。
- 创建或编辑 Google Business Profile 帖子。
- 添加一个或多个 Google Business Profile 地点。
- 编写文案。
- 在希望显示地点信息的位置插入受支持的
{{location.*}}变量。 - 安排定时发布或立即发布。
文案示例:
{{location.name}} 位于 {{location.region_code}} 的 {{location.locality}}。
地址: {{location.address}}
了解更多: {{location.website_url}}
发布时,Postoria 会将每个变量替换为当前发布目标 Google Business Profile 地点的对应值。
多地点如何使用变量
如果帖子发布到多个 Google Business Profile 地点,Postoria 会为每个地点单独解析文案。
例如,这个模板:
欢迎到访位于 {{location.locality}} 的 {{location.name}}。
可以在一个地点生成:
欢迎到访位于 Chicago 的 Northside Dental。
在另一个地点生成:
欢迎到访位于 Austin 的 Northside Dental。
这样只需准备一个帖子模板,就能为每个商家资料发布准确的本地信息。
在按钮 URL 中使用地点变量
你也可以在 Google Business Profile 按钮 URL 字段中使用地点变量。
受支持的按钮 URL 变量是:
{{location.website_url}}
如果每个已选地点在 Google Business Profile 中都有各自的网站 URL,这个功能会很实用。
将其作为按钮 URL 值:
{{location.website_url}}
发布时,Postoria 会将其替换为对应 Google Business Profile 地点的网站 URL。
按钮 URL 字段不支持其他地点变量。如果需要地图或评价链接,请将它们添加到文案中。
将地点变量与 Spintax 一起使用
Google Business Profile 文案中的地点变量可以与 Spintax 一起使用。
例如:
{Visit us|Stop by|Come see us} at {{location.name}} in {{location.locality}}.
发布时,Postoria 会应用模板逻辑,并为每个 Google Business Profile 地点替换地点变量,生成最终文本。
这样就能创建既可重复使用,又符合各地点信息的文案。
预览中会显示什么
文案预览会将地点变量保留为模板文本。
例如,你可能看到:
欢迎到访位于 {{location.locality}} 的 {{location.name}}。
这是正常现象。预览不显示最终值,因为同一篇帖子可能发布到多个 Google Business Profile 地点,而各地点的数据可能不同。
Postoria 会在 Google Business Profile 文案预览中突出显示受支持的地点变量,方便你快速了解哪些部分会在发布时替换。
缺少值时会发生什么
某些地点的部分 Google Business Profile 字段可能为空。
例如,某个地点可能没有:
- 网站 URL
- 服务区域
- 商家描述
- 坐标
- 区域或行政区
如果文案使用了某个变量,而 Postoria 找不到该地点的对应值,Postoria 不会发布带空值的不完整文本。该地点的 Google Business Profile 发布尝试会失败,并显示错误。
例如,以下文案需要服务区域值:
我们为 {{location.service_areas}} 提供服务。
如果所选 Google Business Profile 地点没有设置服务区域,该帖子就无法发布到此地点,直到你移除变量或在 Google Business Profile 中更新地点数据。
实用示例
本地商家动态
位于 {{location.locality}} 的 {{location.name}} 有新动态。
在这里找到我们: {{location.maps_url}}
邀请评价
如果你到访过 {{location.name}},欢迎在这里留下评价: {{location.review_url}}
适配地点的促销
{本周|限时优惠|现已推出},欢迎到访位于 {{location.locality}} 的 {{location.name}}。
了解更多: {{location.website_url}}
地址提醒
你可以在以下地址找到 {{location.name}}:
{{location.address}}
服务区域信息
{{location.name}} 为 {{location.service_areas}} 提供服务。
只有当 Google Business Profile 地点已配置服务区域时,才使用此变量。
最佳实践
谨慎使用地点变量,确保最终文案自然、准确。
发布前请检查:
- 每个变量的拼写与文档完全一致。
- 每个已选地点都包含所用变量需要的数据。
- 替换变量后,文案读起来仍然自然。
- 不要依赖某些地点可能为空的变量。
{{location.description}}等较长字段适合当前帖子。- 仅在适合帖子的地方使用 URL。
- 按钮 URL 字段只使用
{{location.website_url}}。
对于覆盖大量地点的帖子,先使用简单文案在一两个地点测试,再推广到更多地点。
故障排查
预览仍然显示 {{location.name}}
这是正常现象。预览显示的是文案模板。地点变量会在发布时针对每个已选 Google Business Profile 地点替换。
帖子因无法解析变量而发布失败
这通常表示所选地点在 Google Business Profile 中没有该字段的值。
解决方法任选其一:
- 从文案中移除该变量,或
- 在 Google Business Profile 中补充缺失信息,然后重试。
某个变量在预览中未突出显示
检查变量是否受支持,并确认拼写与本指南完全一致。
例如,支持 {{location.website_url}},但不支持 {{location.website}}。
按钮 URL 出错
Google Business Profile 按钮 URL 字段只支持:
{{location.website_url}}
按钮 URL 字段不支持其他地点变量。
每个地点发布的文本都不同
这是正常现象。地点变量针对每个 Google Business Profile 地点分别解析,因此各个已选地点可能收到不同的最终文案。
总结
Google Business Profile 地点变量帮助你在 Postoria 中创建可重复使用且适配地点的文案。将受支持的 {{location.*}} 变量加入文案,发布到一个或多个 Google Business Profile 地点,Postoria 就会在各篇帖子发布时用实时地点数据替换它们。
你可以用变量插入商家名称、城市、地址、网站、地图链接、评价链接、坐标、描述和服务区域等本地信息。