Back to Community

Understanding and Addressing Site Kit by Google Performance Slowdowns

16 threads Sep 16, 2025 PluginSite kit by google

Content

Many WordPress users rely on Site Kit by Google to seamlessly integrate services like Analytics, Search Console, and AdSense. However, a common theme in community support forums revolves around perceived performance issues after installing the plugin. This guide breaks down the most frequent causes of these slowdowns and provides actionable solutions to optimize your site's performance while using Site Kit.

Why Might Site Kit Impact Performance?

It's important to distinguish between slowdowns caused by the plugin's administrative functions and those caused by the external Google services it connects to. Based on numerous community reports, the issues generally fall into a few key categories:

  • External Service Requests: Services like Google Analytics and AdSense make network requests to gather and display data. This happens whether you use Site Kit or add the code manually; it is a fundamental part of how these services operate.
  • Administrative Queries: Some users report a specific, slow SQL query run by the plugin to check for multiple administrators, which can impact server response time, especially on large sites.
  • JavaScript Resources: The external JavaScript libraries required by Google services (e.g., swg-basic.js, Analytics scripts) can contribute to Total Blocking Time (TBT) and are often flagged by tools like PageSpeed Insights for containing unused code.
  • API Timeouts: Delays can occur when the plugin's internal API calls, such as those to the PageSpeed Insights API, are slow to respond or time out.

Common Solutions and Workarounds

1. Analyze the True Source of the Slowdown

Before making changes, use a tool like Query Monitor to identify the exact culprit. Look for:

  • Slow Database Queries: The query checking for multiple administrators (SELECT SQL_CALC_FOUND_ROWS wp_users.ID...) is a known point of contention. If this query is slow, it indicates a need to optimize your user meta table.
  • Long API Response Times: Check if delays are happening during calls to /wp-json/google-site-kit/ endpoints. This could be due to a slow connection between your server and Google's APIs.

2. Optimize for Front-End Performance

The JavaScript for services like Analytics is a common source of performance notes. Remember, this is not unique to Site Kit.

  • Use a Caching Plugin: A robust page caching plugin is highly recommended. It serves static HTML pages, significantly reducing server load and improving Time to First Byte (TTFB), which is often the largest performance opportunity.
  • Consider Resource Hints: Some caching or performance plugins allow you to add preconnect hints for Google domains (e.g., https://www.googletagmanager.com), which can speed up connection times.

3. Address the Specific Administrator Query

If Query Monitor highlights the administrator check as a slow query, you may need to optimize your database. Ensuring your wp_usermeta table is properly indexed can help mitigate this issue. Consulting with your hosting provider on database optimization is often the best course of action.

4. Manage Script Loading (Advanced)

In some specific cases, like the reported double-loading of swg-basic.js on home pages, advanced users have used code snippets to dequeue scripts conditionally. However, this should be done with extreme caution, as it can break functionality.

What Site Kit Itself Does Not Cause

It's crucial to understand that Site Kit itself does not create the core resources that often lead to performance notes:

  • The plugin does not host Google's JavaScript libraries locally, as this is against Google's guidelines and prevents automatic updates.
  • The network requests for ad serving or analytics tracking are inherent to using those services, not the plugin.
  • Unused code within these large, third-party libraries is normal and expected, as they contain many functions that your site may not use at the time of a PageSpeed test.

When to Seek Further Help

If you have followed these steps and are still experiencing severe performance issues specifically tied to the plugin's admin dashboard or its queries, your best recourse is to provide detailed information in a support forum. Include your Site Health Info and specific error logs or Query Monitor reports. This information is vital for others to help diagnose complex, site-specific issues.

For issues related to data in your dashboard (e.g., spammy search queries in Search Console data), remember that Site Kit only displays information from the respective Google service. Questions about that data are best directed to the help centers for Search Console or Analytics.

By understanding the source of these common performance notes, you can make informed decisions about optimizing your site while benefiting from the convenience of the Site Kit plugin.

Related Support Threads Support