Title: Checkout &#8211; jQuery problem
Last modified: September 29, 2024

---

# Checkout – jQuery problem

 *  Resolved [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/)
 * Hello
 * We use Elementor, WooCommerce and SiteKit. I don’t know why, but when SiteKit
   is enabled, a JQuery error occurs on the checkout page (among other things, you
   can see that the shipping fields are broken). Other functions don’t work either.
 * When we disable the SiteKit plugin, everything goes back to normal and checkout
   works normally.
 * Console:
   _jquery-3.6.0.min.js:2 jQuery.Deferred exception: Cannot read properties
   of undefined (reading ‘defaults’) TypeError: Cannot read properties of undefined(
   reading ‘defaults’) at HTMLDocument.<anonymous> ([https://filtrujemy.com/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=9.1.4:1:81](https://filtrujemy.com/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=9.1.4:1:81))
   at e ([https://code.jquery.com/jquery-3.6.0.min.js:2:30038](https://code.jquery.com/jquery-3.6.0.min.js:2:30038))
   at t ([https://code.jquery.com/jquery-3.6.0.min.js:2:30340](https://code.jquery.com/jquery-3.6.0.min.js:2:30340))
   [undefinedS.Deferred.exceptionHook@jquery-3.6.0.min.js](https://wordpress.org/support/topic/checkout-jquery-problem/undefinedS.Deferred.exceptionHook@jquery-3.6.0.min.js?output_format=md):
   2_
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcheckout-jquery-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/checkout-jquery-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/checkout-jquery-problem/page/2/?output_format=md)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18044472)
 * Thanks for reaching out [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/).
   If you’d like to share the following we can hopefully determine more on the cause
   and ensure all does work as expected:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.  
    2. Does the same occur if you disabled any enhanced conversion tracking within 
       Site Kit? You’ll find this setting within your Google Analytics or Google Ads
       module, as per [this guide](https://sitekit.withgoogle.com/documentation/using-site-kit/enhanced-conversion-tracking/).
    3. Does this error appear as a console error only, or is the error presented to
       users? Feel free to share a screenshot using a service such as[ Imgur](https://imgur.com)
       or[ Jumpshare](https://jumpshare.com). You can share via the same form above
       if you wish to share this privately.
 * Let me know if you have any questions with the above. Once we have this information
   we can provide the most suitable troubleshooting suggestions, which may be to
   check with another theme using the Health Check & Troubleshooting plugin, or 
   to review your Elementor plugin for any conflicts. Thank you.
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18044560)
 * Hello,
 * The problem was solved after disabling enhanced conversion tracking. Do you know
   why this is happening? We are interested in this solution.
 * Thanks for your time
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18045285)
 * Thanks for the update. I’m not certain at this stage what the issue may be, however,
   there could be other plugins also making use of your Ads Conversion ID, resulting
   in a conflict.
 * While I will check this with the team, please share the folowing:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.  
    2. Does the same occur if you temporarily disable Cloudflare on your site and enable
       Enhanced Conversion Tracking once more? I can see some Cloudflare references
       when checking your sites source code, with some optimizations performed.
    3. Does the same occur if you temporarily deactivate the Tag Manager module within
       Site Kit and enable Enhanced Conversion Tracking once more? This can be useful
       in the event you have some tags that impact the checkout process.
 * Let me know if you have any questions with the above.
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18049125)
 * Hi James,
    1. I have sent site health info via google form – thanks.
    2. We disabled cloudflare (pause option in cloudflare dashboard) – nothing changed.
    3. About **GTM4WP – A Google Tag Manager (GTM) plugin for WordPress** – This plugin
       is always disabled.
 * Thanks
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18049146)
 * [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/) Thanks
   for the information. I will check this with the team and get back to you with
   an update as soon as possible.
 * In the meantime, would you please be able to share a screenshot or recording 
   of this happening on your site? I will continue to investigate this and any updates
   I will share here.
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18049806)
 * Hi Adam,
 * [⌊1⌉⌊1⌉[
 * [⌊2⌉⌊2⌉[
 * Now we need to turn off this enhanced conversion tracking mode. You will not 
   see the same error on the live site. When this enhanced conversion tracking mode
   is enabled, whole fields or shipping change on cart/checkout is not working.
 * Thanks
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18049923)
 * [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/) Thanks
   for sharing the information. Could you please try following the troubleshooting
   steps [here](https://sitekit.withgoogle.com/documentation/troubleshooting/using-troubleshooting-mode/)
   to see if you encounter the same while in troubleshooting mode?
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18053980)
 * Ok, I can confirm that the problem (i.e. JS problem, no response to changing 
   the product quantity or choosing a different shipping method) still occurs with
   Troubleshooting Mode enabled (the only active plugin is SiteKit and WooCommerce
   and the default theme is Twenty Twenty Two).
 * The problem is 100% generated by Site Kit plugin when enhanced conversion tracking
   mode is enabled.
    -  This reply was modified 1 year, 8 months ago by [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/).
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18054291)
 * [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/) Thanks
   for trying this it’s much appreciated. While we test this ourselves, it would
   be good if you could share a recording of your experience so we can see what 
   to expect and what steps to take. Or you can share the exact steps you take so
   that we can attempt to recreate this ourselves.
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18057329)
 * Currently I can’t do this type of tests because the store already has ads enabled.
 * But we know that this problem also occurs in our other stores, so I’m sure you’ll
   be able to easily reproduce this problem.
 * After enabling enhanced conversion tracking mode, the functionality on the /cart
   page (e.g. changing the number of products) doesn’t work, or on /checkout the
   order fields don’t work either.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18065819)
 * Thanks for the update on this. Just to let you know we are still testing this,
   and it may take a while longer. On a couple of test sites I don’t encounter the
   same `Uncaught TypeError` with WooCommerce and Site Kit active (with Enhanced
   Conversion Tracking enabled).
 * While we’re checking this further can you share whether the same occurs with 
   Enhanced Conversion Tracking enabled once more, but with the Google Ads module
   not active?
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18073400)
 * After disabling the Google Ads module (with Enhanced Conversion enabled), the
   cart and checkout work properly.
 * Another developer points out that the problem may be a fields conflict…
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18073700)
 * Thanks for checking [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/).
   We do have one field that can be configured in either Google Ads or Google Analytics,
   although there is no conflict we’re aware of with the plugin alone, and we did
   perform some checks on this.
 * There are a couple of checks you can perform to try and determine the source 
   of this issue, as it may be a multi party conflict. For example you may be encountering
   this based on some optimization configurations such as deferring of JS, similar
   to [this query](https://support.google.com/google-ads/answer/13262500?hl=en-GB)
   although in your case possibly with a WP Rocket or host configuration.
 * Another possibility is you have a WooCommerce configuration with one of active
   plugins that is impacting your checkout behavior. Note also that the console 
   error is pointing to WooCommerce. Yes it occurs with a particular configuration
   of Site Kit active, however, other plugins you have also hook into WooCommerce
   on your site. To troubleshoot this further, please perform the steps below:
    1. Login to your live site from [a ](https://i.imgur.com/ALzgiHp.png)[Chrome browser incognito window](https://i.imgur.com/ALzgiHp.png).
    2. Install and activate the [Health Check & Troubleshooting plugin](https://wordpress.org/plugins/health-check).
    3. Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
    4. From the same screen click on the “Available Plugins” tab at the top right and
       then click on the “Enable” option next to “Site Kit by Google“ and “WooCommerce”.
    5. Visit the front end of your site and go through the checkout experience, checking
       for the same error. Note that a different theme will be active. This is for 
       you only as a logged in administrator, this doesn’t impact non-logged in users.
 * When performing the checks above, you should have Enhanced Conversion Tracking
   enabled via Site Kit, with Google Ads active.
 * Let me know if you have any questions with the above. While we’re investigating
   this, you may also wish to temporarily make use of one of the workarounds, such
   as [enabling enhanced conversion tracking via Tag Manager](https://support.google.com/google-ads/answer/13262500?hl=en-GB),
   or not using the Google Ads via Site Kit.
 *  Thread Starter [wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/)
 * (@wordpressdatasal)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18073828)
 * We already did this test with the Site Health plugin…
 * We only had Site Kit plugin and WooCommerce plugin enabled, and the default wordpress
   theme. On the Sit Kit side, Google Ads and enhanced conversion tracking mode 
   were enabled.
 * With this configuration there was still a problem with the cart and checkout 
   page.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/#post-18073911)
 * Apologies [@wordpressdatasal](https://wordpress.org/support/users/wordpressdatasal/),
   I can indeed see you did perform this check. If you wish to temporarily enable
   Enhanced Conversion Tracking once more, I’ll once again visit your site to check
   for console errors. If I can determine a Site Kit specific error, I can check
   this further with the team or create a GitHub issue.
 * Alternatively, you can use enhanced conversion tracking via Tag Manager as mentioned
   above, but I am happy to check this further. I noticed you’re using Cloudflare
   so there may be something there or at original host level that’s impacting your
   experience.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/checkout-jquery-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/checkout-jquery-problem/page/2/?output_format=md)

The topic ‘Checkout – jQuery problem’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)

 * 26 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/checkout-jquery-problem/page/2/#post-18129134)
 * Status: resolved