Back to Community

Resolving Common Site Kit by Google and WooCommerce Conflicts

19 threads Sep 7, 2025 PluginSite kit by google

Content

Many WordPress site owners use both Site Kit by Google and WooCommerce to manage their analytics and e-commerce. However, these two powerful plugins can sometimes conflict, leading to broken checkout pages, JavaScript errors, and data reporting issues. This guide explains the most common conflicts and provides steps to resolve them.

Common Symptoms of Conflict

Based on community reports, conflicts between Site Kit and WooCommerce often manifest in the following ways:

  • JavaScript Errors on Checkout: Errors like Uncaught TypeError: jQuery.blockUI is not a function or Cannot read properties of undefined that prevent payment methods like Google Pay or Apple Pay from working.
  • Broken AJAX Add-to-Cart: The cart fails to update automatically after a product is added, requiring a manual page refresh.
  • Fatal PHP Errors: Critical errors on order confirmation pages, such as Call to a member function is_type() on bool.
  • Data Loading Failures: The "Most popular products by pageviews" widget fails to load data when WooCommerce is active.
  • Incorrect Data Tracking: Prices sent to Google Analytics are multiplied, or SKU information is missing from add_to_cart events.

Why These Conflicts Happen

These issues typically arise from two main areas:

  1. Enhanced Conversion Tracking: A powerful feature within Site Kit's Analytics module, Enhanced Conversion Tracking injects JavaScript to track user behavior. This can sometimes interfere with WooCommerce's own scripts, especially on complex checkout and cart pages that rely heavily on AJAX and jQuery.
  2. Plugin Version Incompatibility: Updates to either plugin can temporarily introduce new bugs or change how scripts are loaded, leading to conflicts until a patch is released.

How to Troubleshoot and Resolve Conflicts

1. Disable Enhanced Conversion Tracking (A Common Fix)

This is the most frequent solution for JavaScript-related issues, such as broken AJAX add-to-cart functionality or checkout errors.

  1. In your WordPress dashboard, navigate to Site Kit > Settings > Analytics.
  2. Find the Enhanced Conversion Tracking option.
  3. Toggle the switch to disable the feature.
  4. Clear your site and browser cache, then test your checkout and cart pages to see if the issue is resolved.

2. Perform a Conflict Test

If disabling the feature doesn't work, a broader conflict test can help identify the culprit.

  1. Install the Health Check & Troubleshooting plugin.
  2. Enable its Troubleshooting Mode. This will deactivate all plugins for your user session only, while keeping the site normal for visitors.
  3. Reactivate only WooCommerce and Site Kit by Google.
  4. Check if the problem persists. If it does, the conflict is between these two plugins. If it doesn't, reactivate your other plugins one-by-one to find the third plugin causing the issue.

3. Check for Known Bugs and Updates

Some issues, like fatal PHP errors or incorrect price formatting, are known bugs that have been reported to the Site Kit development team. These often require an official plugin update to fix.

  • Ensure both WooCommerce and Site Kit by Google are updated to their latest versions.
  • Keep an eye on the official WordPress support forum for Site Kit for updates on known issues.

4. Provide Details for Further Help

If you are still stuck, you will often need to provide specific information to get help from the community. Be prepared to share:

  • Your Site Health Information (found under Tools > Site Health > Info).
  • The exact text of any JavaScript errors from your browser's console (F12).
  • The exact text of any PHP errors from your WordPress debug log.
  • The URL of a page where the error occurs.

By systematically working through these steps, you can identify and resolve most conflicts between Site Kit by Google and WooCommerce, restoring full functionality to your online store.

Related Support Threads Support