WordPress.org

Plugin Directory

Site Kit by Google – Analytics, Search Console, AdSense, Speed

Site Kit by Google – Analytics, Search Console, AdSense, Speed

描述

Site Kit 是 Google 的官方 WordPress 插件,用于分析人们如何找到和使用您的站点。Site Kit 是一种一站式解决方案,用于部署、管理和从关键的 Google 工具中获得数据,使站点在网络上取得成功。其直接在 WordPress 仪表盘中提供来自多个 Google 产品的权威、最新的数据,便于访问,且完全免费。

带来最好的工具给WordPress

Site Kit包括使用这些Google产品无缝和灵活的强大功能:

  • 易于理解的统计直接在Wordpress仪表板上
  • 来自多个Google Tools的官方统计数据,全部在一个仪表板中
  • 无需编辑您网站的源代码“无需编辑多个Google工具的快速设置
  • 您的整个网站和个人帖子的指标
  • 跨WordPress和不同的Google产品易于管理,粒度权限

支持的Google工具

Site Kit 显示关键指标和见解来自不同Google产品的:

  • Search Console:了解Google搜索如何发现并在Google搜索中显示页面。 跟踪搜索结果中有多少人看到您的网站,以及他们用于搜索您的网站的查询。
  • Analytics: 探索用户如何导航您的网站和跟踪您为用户完成的目标。
  • AdSense:跟踪您的网站赚多少钱。
  • PageSpeed Insights: 了解与其他现实世界的页面相比如何执行。 从Pagespeed Insights中提高可操作提示的性能。
  • Tag Manager: 使用 Site Kit 来轻松的设置 Tag Manager- 无需代码. 然后在Tag Manager中管理你的标签.

安装

Note: Make sure that your website is live. If your website isn’t live yet, Site Kit can’t show you any data.
However, if you have a staging environment in addition to your production site, Site Kit can display data from your production site in the staging environment. Learn how to use Site Kit with a staging environment.

从WordPress内安装

  1. 访问插件 > 添加新的
  2. 搜索 Site Kit by Google
  3. 通过Google插件安装并激活网站套件
  4. 将 Site Kit 连接到您的 Google 账号。如果有多个 WordPress 管理员,请记住每个管理员必须连接其自己的 Google 账号才能访问该插件。

手动安装

  1. 将整个google-site-kit文件夹上传到/wp-content/plugins/目录。
  2. 访问插件
  3. 启用 Site Kit by Google plugin。
  4. 将 Site Kit 连接到您的 Google 账号。如果有多个 WordPress 管理员,请记住每个管理员必须连接其自己的 Google 账号才能访问该插件。

启用后

  1. 访问新的Site Kit菜单。
  2. 遵循配置流程中的指示。
  3. 转到主站点 Site Kit,该仪表板已从 Search Console 台显示密钥指标。
  4. Connect additional Google tools under Site Kit > Settings. Learn more about which tools are right for you.

常见问题

欲了解更多信息,请访问Site Kit 官方网站

Site Kit 是免费的吗?

Site Kit 插件是免费且开源的,并将继续如此。Site Kit 中包含的个别 Google 产品须遵守这些产品的标准条款和费用(如果有)。

What are the minimum requirements for Site Kit?

In order to successfully install and use Site Kit, your site must meet the following requirements:

  • WordPress version 5.2+
  • PHP version 7.4+
  • Modern browser – Internet Explorer is not supported
  • Is publicly accessible – it isn’t in maintenance mode, accessible only via password, or otherwise blocked
  • REST API is available – Site Kit must be able to communicate via REST API with Google services. To ensure that the REST API is available for your site, go to Tools > Site Health.

Why is my dashboard showing “gathering data” and none of my service data?

It can take a few days after connecting Site Kit to a Google service for data to begin to display in your dashboard. The “gathering data” message typically appears when you’ve recently set up a Google service (i.e. just created a new Analytics account) and/or your site is new, and data is not yet available for display.

If you are still seeing this message after a few days, feel free to get in touch with us on the support forum.

Why aren’t any ads appearing on my site after I connected AdSense?

If you’re new to AdSense when you connect via Site Kit, your new AdSense account and your site will need to be manually reviewed and approved for ads by the AdSense team. Ads will not display until your account and site have been approved. Check out this guide for more information about the approval process and timeline.

You can check your approval status in Site Kit by going to Settings > Connected Services > AdSense and clicking Check your site status. This link will direct you to AdSense. If you see “Ready,” your account and site have been approved and should be displaying ads. If you see “Getting ready…,” your account and site are still under review and your site will not display ads until they have been approved.

If Site Kit has successfully added the AdSense snippet to your site and your account and site have been approved, but your site is still not showing ads, contact the AdSense Help Center for assistance.

You can find more information on how Site Kit works with AdSense in our Managing AdSense guide.

Is Site Kit GDPR compliant?

When using Site Kit, site owners are responsible for managing notice and consent requirements – including GDPR requirements – as described in Google’s Terms of Service.

By default, Site Kit does anonymize IP addresses upon activation of the Google Analytics module. This setting can be turned off in Site Kit > Settings > Analytics > Anonymize IP addresses.

There are a number of third-party plugins that allow you to block Google Analytics, Tag Manager, or AdSense from capturing data until a visitor to the site consents. Some of these work natively with Site Kit by providing plugin-specific configurations. You can find out more about these by visiting our GDPR compliance and privacy page.

Where can I get additional support?

Please create a new topic on our WordPress.org support forum. Be sure to follow the support forum guidelines when posting.

评价

2024 年 9 月 3 日 1 回复
I have several sites and none of them refuse to work. It always shows the message that there is no connection to the site. I don’t recommend
2024 年 8 月 23 日 1 回复
The plugin and the support are great and very helpful. Someone is always there to get back to you quickly with valuable insight. I have been managing many sites, and almost all use Site Kit to make our life easier.
阅读所有874条评价

贡献者及开发者

“Site Kit by Google – Analytics, Search Console, AdSense, Speed” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Site Kit by Google – Analytics, Search Console, AdSense, Speed」插件已被翻译至 28 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Site Kit by Google – Analytics, Search Console, AdSense, Speed”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.135.0

Added

  • Add a cron task to fetch Analytics report data for conversion events reporting. See #9130.

Enhanced

  • Add an “Edit in Reader Revenue Manager” link to the RRM module’s settings view screen. See #9192.
  • Add conversionReporting feature flag to plugin. See #9152.
  • Add support for Analytics Conversion Report Events in data store. See #9132.
  • Fix the undefined array key “name” warning. See #9113.
  • Don’t show the Audiences Widget Area on the dashboard when the “Display visitor groups in dashboard” switch is toggled off in the Settings section. See #9065.
  • Refactor PAX notification to use new notification infrastructure. See #8980.
  • Update Google Tag scope notifications to use new notifications infrastructure. See #8979.
  • Update banner notification code for the “Unsatisfied Scopes Alert” banner notification. See #8978.
  • Optimize Audience Segmentation related API calls to be made only when the area is being viewed. See #8879.
  • Add the PublicationOnboardingStateNotice component, rendering a notice based on the onboarding state of the current publication and presented in Storybook. See #8838.
  • Fix PHP 8.1 deprecation notices. See #8589.
  • Enhance Audience Segmentation CTAs to not appear on shared dashboard. See #8174.
  • Show a notice in the Audience Creation Notice when the Analytics edit scope is missing, and proceed directly to the OAuth flow upon clicking a CTA to create an audience. See #8165.
  • Show an Audience Tile in an error state if an error occurred while retrieving its data; show a combined error state if all audiences have an error. See #8147.

Fixed

  • Ensure the list of publications in the Reader Revenue Manager setup and settings screens only shows publications relevant to the current site. See #9247.
  • Update the PAX library version. See #9237.
  • Enhance stability of visual regression test runs. See #9211.

See changelog for all versions.