描述
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内安装
- 访问插件 > 添加新的。
- 搜索 Site Kit by Google。
- 通过Google插件安装并激活网站套件
- 将 Site Kit 连接到您的 Google 账号。如果有多个 WordPress 管理员,请记住每个管理员必须连接其自己的 Google 账号才能访问该插件。
手动安装
- 将整个
google-site-kit
文件夹上传到/wp-content/plugins/
目录。 - 访问插件。
- 启用 Site Kit by Google plugin。
- 将 Site Kit 连接到您的 Google 账号。如果有多个 WordPress 管理员,请记住每个管理员必须连接其自己的 Google 账号才能访问该插件。
启用后
- 访问新的Site Kit菜单。
- 遵循配置流程中的指示。
- 转到主站点 Site Kit,该仪表板已从 Search Console 台显示密钥指标。
- 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.
评价
贡献者及开发者
更新日志
1.144.0
Added
- Add
library_name
parameter to Sign in with Google button. See #9924. - Add incremental ESLint rule to avoid defining
scenario.label
on stories. See #9865. - Add option to enable “One-tap” sign-in across site when using Sign in with Google. See #9861.
Enhanced
- Add the
rrmModuleV2
feature flag, this will be used for phase two of the Reader Revenue Manager module’s development. See #9948. - Update FPM health check to use the approach from the measurement script. See #9916.
- Improve Analytics Conversion Reporting new/lost events callouts experience for each Site Kit user. See #9897.
- Update subtle notification padding for consistency with the Figma design. See #9860.
- Add a loading spinner to the “Enable First-party mode” CTA button on the setup banner to indicate progress during the setup process. See #9856.
- Only run the periodic server requirement health checks for First-party mode when the mode is enabled. See #9842.
- Update Partner Ads Experience with knowledge of supported conversion events. See #9816.
- Improve logic for persisting badges in the Key Metrics selection panel. See #9798.
- Add the Suggested group to the key metrics selection panel. See #9797.
- Add a warning notification on the dashboard to alert users when First-party mode is disabled due to failed server requirement checks. See #9767.
- Update to the latest version of the First-party mode proxy script. See #9710.
- Add “Learn more” links for First-party mode. See #9699.
- Introduce GA4 tracking events for the First-party mode feature. See #9669.
- Add loading state with placeholder elements to Site Kit’s WP dashboard widget. See #9570.
- Fix issues with Audience Creation Notice when browser viewport is very short. See #9562.
- Improve accuracy of periodic network connection check. See #9485.
- Add badge to new Analytics Conversion Reporting widget tiles and groups. See #9386.
- Update the Setup Error Banner notification to use the new Notifications API. See #9283.
- Move settings edit dependency loading state to module stores. See #8730.
- Improve the “See full details” link in AdSense settings, linking to the list of sites for the account where possible. See #8076.
- Ensure that cities and countries with unset values don’t show up in the “Top cities driving traffic” and “Top countries driving traffic” Key Metric tiles. See #7884.
Changed
- Remove the deprecated
OAuth_Client::using_proxy
method and its associated tests. See #8366.
Fixed
- Ensure measurement tracking requests succeed when both the Analytics and Ads modules are connected and First-party mode is enabled. See #9901.
- Improve sort order in module list. See #9877.
- Ensure “Enhanced Measurement” setting is not activated when disabled during Analytics setup. See #9827.
- Fix a glitch where setup CTA banners would momentarily appear again when dismissing their admin settings tooltip. See #9791.
- Fix iPad 10 Safari inconsistencies. See #9776.
- Fix potential for PHP warning related to accessing a property
post_type
on null. See #9762. - Ensure Site Kit’s Google chart on the WordPress dashboard widget correctly adapts to viewport width changes. See #9756.
- Fix the deprecation error in the Ads module related to the creation of a dynamic property in the
Web_Tag
class. See #9531. - Prevent unnecessary requests on dashboard. See #9178.
- Prevent PHP warnings when creating custom dimensions. See #7801.