Closed equipeathletics closed 3 years ago
@equipeathletics Can you share your Site Health information and I can try replicate the same setup from my side? After sharing your Site Health information please temporarily deactivate Site Kit while I check your site once more.
I'm having the same issue, but it seems to be an issue with google analytics rather than sitekit. Deactivating the plugin and adding the analytics code to the page still seems to cause it. This is currently blocking us from using google analytics
`
version: 5.4 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%year%/%monthnum%/%postname%/ https_status: true user_registration: 0 default_comment_status: open multisite: false user_count: 15 dotorg_communication: true
wordpress_path: /var/www wordpress_size: 1.11 GB (1187376587 bytes) uploads_path: /var/www/wp-content/uploads uploads_size: 565.78 MB (593265458 bytes) themes_path: /var/www/wp-content/themes themes_size: 20.27 MB (21253290 bytes) plugins_path: /var/www/wp-content/plugins plugins_size: 116.20 MB (121841551 bytes) database_size: 42.52 MB (44580864 bytes) total_size: 1.83 GB (1968317750 bytes)
advanced-cache.php: true
name: Mesmerize PRO (mesmerize-pro) version: 1.6.129 author: Horea Radu author_website: https://extendthemes.com/ parent_theme: none theme_features: post-thumbnails, automatic-feed-links, title-tag, custom-header, custom-logo, customize-selective-refresh-widgets, menus, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, custom-background theme_path: /var/www/wp-content/themes/mesmerize-pro
Mesmerize: version: 1.6.90, author: Horea Radu
System Plugin: author: (undefined), version: 3.16.3
Advanced Access Manager: version: 6.4.3, author: Vasyl Martyniuk vasyl@vasyltech.com Advanced AJAX Product Filters for WooCommerce: version: 1.4.2.2, author: BeRocket Age Verification: version: 2.3.2, author: Devio Digital Hide Shipping Methods based on Shipping Class and Zone: version: 1.0.5, author: PluginHive Hide Title: version: 1.0.8, author: Dojo Digital MC4WP: Mailchimp for WordPress: version: 4.7.7, author: ibericode Mesmerize Companion: version: 1.6.111, author: Horea Radu Title Remover: version: 1.2.1, author: WPGurus WooCommerce: version: 4.0.1, author: Automattic WooCommerce - ShipStation Integration: version: 4.1.36, author: WooCommerce WooCommerce Dropshipping: version: 2.1, author: WooCommerce WooCommerce Square: version: 2.1.2, author: WooCommerce (latest version: 2.1.3) WP-Optimize - Clean, Compress, Cache: version: 3.0.19, author: David Anderson, Ruhani Rabin, Team Updraft WPForms Lite: version: 1.6.0.1, author: WPForms Yoast SEO: version: 14.0.2, author: Team Yoast (latest version: 14.0.4)
Enhanced E-commerce for Woocommerce store: version: 2.3.4, author: Tatvic Site Kit by Google: version: 1.7.1, author: Google Smush: version: 3.6.1, author: WPMU DEV
image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-78 Q16 x86_64 2019-12-09 https://imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 125 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 24575 imagick::RESOURCETYPE_MAP: 125 GB imagick::RESOURCETYPE_MEMORY: 63 GB imagick::RESOURCETYPE_THREAD: 24 gd_version: 2.2.5 ghostscript_version: 8.70
server_architecture: Linux 2.6.32-896.16.1.lve1.4.51.el6.nfsfixes.x86_64 x86_64 httpd_software: Apache php_version: 7.2.25 64bit php_sapi: cgi-fcgi max_input_variables: 1000 time_limit: 300 memory_limit: 256M max_input_time: 60 upload_max_size: 100M php_post_max_size: 100M curl_version: 7.45.0 OpenSSL/1.0.1e suhosin: false imagick_availability: true htaccess_extra_rules: true
extension: mysqli server_version: 5.6.32-78.0-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/wp-content WP_PLUGIN_DIR: /var/www/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined
wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable
version: 1.6.0.1 license: false lite: Mar 11, 2020 @ 4:05pm total_forms: 6 total_entries: 44
`
Hello,
I have deactivated Sitekit on my test server, but you can also see the same exact live environment at www.equipeathletics.com. Everything is the same except the activation of SiteKit.
Please see below for my site information: `
version: 5.4 site_language: en_US user_language: en_US timezone: America/Los_Angeles permalink: /%postname%/ https_status: true user_registration: 1 default_comment_status: closed multisite: false user_count: 2114 dotorg_communication: true
wordpress_path: /var/www wordpress_size: 493.04 MB (516991327 bytes) uploads_path: /var/www/wp-content/uploads uploads_size: 322.56 MB (338233709 bytes) themes_path: /var/www/wp-content/themes themes_size: 9.25 MB (9695023 bytes) plugins_path: /var/www/wp-content/plugins plugins_size: 132.44 MB (138869731 bytes) database_size: 154.21 MB (161697458 bytes) total_size: 1.09 GB (1165487248 bytes)
name: Storefront (storefront) version: 2.5.5 author: Automattic author_website: https://woocommerce.com/ parent_theme: none theme_features: post-thumbnails, automatic-feed-links, custom-logo, menus, html5, custom-background, custom-header, site-logo, title-tag, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-font-sizes, editor-style, responsive-embeds, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, starter-content, widgets, infinite-scroll theme_path: /var/www/wp-content/themes/storefront
Twenty Nineteen: version: 1.5, author: the WordPress team Twenty Seventeen: version: 2.3, author: the WordPress team Twenty Sixteen: version: 2.0, author: the WordPress team (latest version: 2.1) Twenty Twenty: version: 1.2, author: the WordPress team
System Plugin: author: (undefined), version: 3.16.3
Akismet Anti-Spam: version: 4.1.5, author: Automattic EWWW Image Optimizer: version: 5.2.5, author: Exactly WWW (latest version: 5.3.0) Facebook for WooCommerce: version: 1.10.2, author: Facebook (latest version: 1.11.1) Homepage Control: version: 2.0.3, author: WooThemes Insert Headers and Footers: version: 1.4.5, author: WPBeginner Jetpack by WordPress.com: version: 8.4.2, author: Automattic MonsterInsights - Dimensions Addon: version: 1.3.0, author: MonsterInsights Team MonsterInsights - eCommerce Addon: version: 7.3.5, author: MonsterInsights Team MonsterInsights - Forms Tracking Addon: version: 1.5.0, author: MonsterInsights Team MonsterInsights - Google Optimize Addon: version: 1.3.0, author: MonsterInsights Team MonsterInsights - Page Insights Addon: version: 1.3.0, author: MonsterInsights Team MonsterInsights - Performance Addon: version: 1.4.0, author: MonsterInsights Team MonsterInsights Pro: version: 7.10.5, author: MonsterInsights Slider Revolution: version: 6.2.2, author: ThemePunch Storefront Homepage Contact Section: version: 1.0.5, author: WooThemes Storefront Parallax Hero: version: 1.5.7, author: WooCommerce Storefront Powerpack: version: 1.5.0, author: WooCommerce Storefront Product Hero: version: 1.2.13, author: WooThemes VaultPress: version: 2.1.1, author: Automattic WooCommerce: version: 4.0.1, author: Automattic WooCommerce Authorize.Net Gateway: version: 3.2.3, author: SkyVerge WooCommerce Customer/Order/Coupon Export: version: 5.0.11, author: SkyVerge WooCommerce Print Invoices/Packing Lists: version: 3.8.3, author: SkyVerge WooCommerce Services: version: 1.23.0, author: Automattic WooCommerce UPS Shipping Plugin with Print Label: version: 3.14.9, author: PluginHive (latest version: 3.15.0) WooCommerce USPS Shipping: version: 4.4.42, author: WooCommerce Woo Discount Rules: version: 1.9.7, author: Flycart Technologies LLP WPForms Lite: version: 1.6.0.1, author: WPForms Yoast SEO: WooCommerce: version: 12.7, author: Team Yoast (latest version: 13.0) Yoast SEO Premium: version: 13.5, author: Team Yoast (latest version: 14.0.4)
Contact Form 7: version: 5.1.7, author: Takayuki Miyoshi Disable Cart Fragments: version: 1.21, author: Optimocha Duplicate Post: version: 3.2.4, author: Enrico Battocchi Envato Market: version: 2.0.3, author: Envato jQuery T(-) Countdown Widget: version: 2.3.22.1, author: twinpictures, baden03 Really Simple SSL: version: 3.3.1, author: Rogier Lankhorst, Mark Wolters Site Kit by Google: version: 1.7.1, author: Google WC Fields Factory: version: 3.0.3, author: Saravana Kumar K WooCommerce Authorize.Net AIM Gateway: version: 3.14.3, author: SkyVerge
image_editor: EWWWIO_Imagick_Editor imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-78 Q16 x86_64 2019-12-09 https://imagemagick.org gd_version: 2.2.5 ghostscript_version: 8.70
server_architecture: Linux 2.6.32-896.16.1.lve1.4.51.el6.nfsfixes.x86_64 x86_64 httpd_software: Apache php_version: 7.3.12 64bit php_sapi: cgi-fcgi max_input_variables: 2000 time_limit: 300 memory_limit: 256M max_input_time: 60 upload_max_size: 256M php_post_max_size: 256M curl_version: 7.45.0 OpenSSL/1.0.1e suhosin: false imagick_availability: true htaccess_extra_rules: true
extension: mysqli server_version: 5.6.32-78.0-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/wp-content WP_PLUGIN_DIR: /var/www/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined
wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable
site_id: 110873488 ssl_cert: No time_diff: undefined version_option: 8.4.2:1587106117 old_version: 8.4.1:1586941180 public: Public master_user: #1 patrick current_user: #1 patrick tokens_set: Blog User blog_token: 9A0XExB!wZW31hi)UYt0jo9l6UateS15 user_token: yLpXlt8!@JqgDG3vs$)EYyu#pq&rZsIQ version: 8.4.2 jp_plugin_dir: /var/www/wp-content/plugins/jetpack/ plan: personal HTTP_HOST: equipeathletics.com SERVER_PORT: 443 HTTPS: on GD_PHP_HANDLER: false HTTP_X_FORWARDED_FOR: 97.93.157.176 HTTP_X_REAL_IP: 97.93.157.176 HTTP_X_VARNISH: 2051246255 REMOTE_ADDR: 97.93.157.176 protect_header: {"trusted_header":"GD_PHP_HANDLER","segments":0,"reverse":false} full_sync: {"started":"Tue, 21 Apr 2020 21:43:59 +0000","finished":"Tue, 21 Apr 2020 21:44:11 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"}},"config":{"options":true,"functions":true,"constants":true,"users":[1]}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/equipeathletics.com","siteurl":"https:\/\/equipeathletics.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass.
version: 1.6.0.1 license: false lite: Apr 28, 2020 @ 11:47pm total_forms: undefined total_entries: undefined
`
I'm having the same issue, but it seems to be an issue with google analytics rather than sitekit. Deactivating the plugin and adding the analytics code to the page still seems to cause it. This is currently blocking us from using google analytics
Hello Justin - I think your issue might be a separate one, though resulting in the same effect. I am able to inject the analytics code as well as google tags manager using another plugin "insert headers and footers". this is working on my live site and I am able to get analytics data and also use GTM to inject other tags as well. In reality I could have just put in the GTM and used the GA tag inside the GTM container. Either way, both are working on my site. I just wish we could have used SiteKit instead.
@equipeathletics I no longer see the issue occurring on your test server with Site Kit deactivated. While it may be related to an Analytics/WooCommerce issue can you check the following:
From checking other resources I can see others have reported the same issue previously in relation to this issue, not specific to Site Kit:
I'll try and recreate the same issue from my side today. If you confirm your current webhost I can use the same setup.
@jamesozzie Thanks for the quick reply. Yes, the same issue arises before Analytics or GTM are connected. Just the mere installation and activation of SiteKit will cause the cart issue. I tried creating a new analytics as well as GTM container as described in the first link you sent me.
I am on Managed Wordpress from GoDaddy. That is the one string that links my issue along with the two other issues is that we are all using Managed Wordpress. Even with every single caching selection off, Varnish is part of the server builds and cannot be modified or turned off. But they did confirm to me that Varnish is programmed to ignore pages such as /cart/ and /checkout/.
@equipeathletics interesting, we are also using managed wordpress from GoDaddy.
@equipeathletics @justinStoner I've just tested using the following setup on a GoDaddy managed WordPress hosting account although I'm unable to reproduce the same issue from my side.
I didn't make any configuration changes other than the default with WooCommerce, and I tested with and without the Analytics module active, using the same theme.
Are you in a position to check with the other plugins you have temporarily deactivated? Maybe there are a combination of plugins or configurations resulting in this issue in your case.
`
version: 5.4.1 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%year%/%monthnum%/%postname%/ https_status: false user_registration: 0 default_comment_status: open multisite: false user_count: 2 dotorg_communication: true
wordpress_path: /var/www wordpress_size: loading... uploads_path: /var/www/wp-content/uploads uploads_size: loading... themes_path: /var/www/wp-content/themes themes_size: loading... plugins_path: /var/www/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading...
object-cache.php: true
name: Storefront (storefront) version: 2.5.6 author: Automattic author_website: https://woocommerce.com/ parent_theme: none theme_features: post-thumbnails, automatic-feed-links, custom-logo, menus, html5, custom-background, custom-header, site-logo, title-tag, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-font-sizes, editor-style, responsive-embeds, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, starter-content, widgets theme_path: /var/www/wp-content/themes/storefront
Twenty Nineteen: version: 1.5, author: the WordPress team Twenty Seventeen: version: 2.3, author: the WordPress team Twenty Sixteen: version: 2.0, author: the WordPress team (latest version: 2.1) Twenty Twenty: version: 1.2, author: the WordPress team
System Plugin: author: (undefined), version: 3.16.3
CoBlocks: version: 1.24.0, author: GoDaddy (latest version: 1.26.1) Site Kit by Google: version: 1.7.1, author: Google Sucuri Security - Auditing, Malware Scanner and Hardening: version: 1.8.24, author: Sucuri Inc. WooCommerce: version: 4.0.1, author: Automattic WP101 Video Tutorials: version: 0.3, author: WP101Plugin.com
Akismet Anti-Spam: version: 4.1.4, author: Automattic (latest version: 4.1.5) Google Ads for WooCommerce: version: 1.0.4, author: Kliken Gravity Forms: version: 2.4.14, author: rocketgenius Jetpack by WordPress.com: version: 8.4.2, author: Automattic Mailchimp for WooCommerce: version: 2.4.0, author: Mailchimp TranslatePress - Multilingual: version: 1.7.0, author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban (latest version: 1.7.2)
image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-78 Q16 x86_64 2019-12-09 https://imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 125 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 24575 imagick::RESOURCETYPE_MAP: 125 GB imagick::RESOURCETYPE_MEMORY: 63 GB imagick::RESOURCETYPE_THREAD: 24 gd_version: 2.2.5 ghostscript_version: 8.70
server_architecture: Linux 2.6.32-896.16.1.lve1.4.51.el6.nfsfixes.x86_64 x86_64 httpd_software: Apache php_version: 7.2.25 64bit php_sapi: cgi-fcgi max_input_variables: 1000 time_limit: 300 memory_limit: 256M max_input_time: 60 upload_max_size: 100M php_post_max_size: 100M curl_version: 7.45.0 OpenSSL/1.0.1e suhosin: false imagick_availability: true htaccess_extra_rules: false
extension: mysqli server_version: 5.6.32-78.0-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /var/www/wp-content WP_PLUGIN_DIR: /var/www/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined
wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable
version: 1.7.1 php_version: 7.2.25 wp_version: 5.4.1 reference_url: http://godaddy.cms.....com amp_mode: no site_status: connected-site user_status: authenticated active_modules: site-verification, search-console, analytics required_scopes: openid: ✅ https://www.googleapis.com/auth/userinfo.profile: ✅ https://www.googleapis.com/auth/userinfo.email: ✅ https://www.googleapis.com/auth/siteverification: ✅ https://www.googleapis.com/auth/webmasters: ✅ https://www.googleapis.com/auth/analytics: ✅ https://www.googleapis.com/auth/analytics.readonly: ✅ https://www.googleapis.com/auth/analytics.manage.users: ✅ https://www.googleapis.com/auth/analytics.edit: ✅ search_console_property: http://godaddy.cms.... analytics_account_id: 1460••••• analytics_property_id: UA-1460••••••• analytics_profile_id: 2011••••• analytics_use_snippet: yes `
that is odd... yeah I tried my site, or rather the test site with everything turned off and it was google sitekit that created the issue repeatedly. did you try testing on an incognito window? the problem doesn't show itself it you're logged into the site as well.
@equipeathletics I just tested once again using incognito and I'm unable to reproduce the same from my side.
I also performed another test using both your provided staging site and your live site. From my side I don't encounter the same issue although it looks like you don't have Site Kit active on either site.
If you can activate Site Kit without Analytics or Tag Manager once more I can see if the same problem arises, I'll then try to recreate the same setup once more, including with the plugins you have active (with default settings)
Hello, thank you so much for your effort and help on this subject - I just couldn't deal with the constant issues and lost sales I was seeing from cart drop-offs. We were getting random emails from customers saying they were still getting the issue of empty cart though we had turned off site-kit weeks ago. Probably an issue with their Varnish Caching or distributed servers not getting updated - or both really.
I've made the switch away from GoDaddy and Managed Wordpress and onto Shopify. Literally the day after my conversion rate went up, sales are up 50%, and for the last week zero comments regarding empty carts.
I'll leave this thread open in case you want to keep troubleshooting the issue. I know I'm not the only one dealing with it. I know there are instances where there are no issues. But for some reason there are some of us with the right combination of GoDaddy Managed Wordpress, WooCommerce, and SiteKit that creates cart failures. On my last support call with Go Daddy, they suggested I move over to their CPanel server since all caching is turned off on that system. Basically told them, if I have to move platforms, it will be to Shopify.
@equipeathletics After looking at this once more if you have an opportunity can you try and check for the same issue with your hosting providers object caching temporarily deactivated?
From looking at the below issues I suspect it's nothing something we're able to address on our side.
Also reported in the forums: https://wordpress.org/support/topic/google-tag-manager-empty-cart-error/
console error on the empty cart page (note 3 items are in the cart): https://imgur.com/a/lJyFQ0U
Could you check and provide screenshots of any console errors you may see after adding an item to the cart and on the empty cart page @equipeathletics (I think you have moved to another platform, so no worries if you cannot) @justinStoner ?
cc: @adamsilverstein
Another report of this in the forums: https://wordpress.org/support/topic/google-site-kit-cart-empty-cache-issue/
I was able see the issue in an incognito browser. There looks to be a 403 error in the console when the cart is empty: https://jmp.sh/vjp2onQ
It occurs on this WooCommerce request: https://svdpid.org/?wc-ajax=wc_stripe_get_cart_details
Checking with user if disconnecting Analytics changes the outcome.
Some updates from the user in the above topic:
Hi there, I am the owner of this website and I am subscribed here so I am getting many notices. I am the one who designed thenSyncronicity Rocks website. I am self taught and I know there are liley many many issues as it is still being developed. I am just wondering if all of there emails I am getiing are becuase you guys are doing things to the site? I would really like to understand as I progress thru the learning process. Can you please email e back and explain what I am seeing by so many people? Also, I am looking for a developer for my site to get it looking and being awesome including the online store Please help ! Cheryl Freeman
-----Original Message----- From: Renee Johnson notifications@github.com To: google/site-kit-wp site-kit-wp@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Sent: Wed, Aug 19, 2020 1:59 pm Subject: Re: [google/site-kit-wp] Woocommerce Cart Shows Empty when Sitekit is installed into WP (GoDaddy Managed WP) (#1464)
Some updates from the user in the above topic:
Hi @cheryl-cherylfischer ! I don't see your website referenced in this issue, however feel free to continue to follow this issue for updates on the progress. If you have been subscribed mistakenly, you can unsubscribe toward the top right to stop notifications.
While we can only assist with questions related to the Site Kit plugin, you are welcome to open a support topic in our forums if you have any other questions about the plugin.
Hi all. Just jumping in here - I'm with Godaddy Managed Wordpress also. I was previously using Google Analytics for WordPress by MonsterInsights plugin - I had one random email from a customer saying they were having the 'empty cart' issue. I did a little bit of testing but couldn't replicate it. I just tried switching over to Google Tag Manager for Wordpress plugin and 95% of the time got the 'empty cart' issue. It didn't seem to matter if I waited 30 seconds or not, the error would occur. My site is live so I didn't spend too long trying to troubleshoot it, just disabled the plugin and everything went back to normal. Perhaps it goes beyond issues with a single plugin.
@toofastdriving thanks so much for sharing! We've recently been able to recreate the issue and are investigating this further to find the root cause. Curious are you also using the Stripe integration for WooCommerce?
This is definitely something to do with godaddy managed Wordpress and nothing else. I tested an empty site with base theme and zero plug ins except woocommerce for the cart. Only with google analytics kit installed it would fail.
When installed on cpanel it was fine. And also on the vast majority of managed installs it works fine. If you have the time to do a full uninstall and reinstall onto another server it might fix the problem. For me, I was fed up with lack of service and integration. We moved to Shopify and spent a weekend rebuilding from scratch and went live 2 days later. No BS... zero issues since. Apps work, integrations work, links to google marketplace and Facebook marketplace built right in. Integrated merchant processing including PayPal and amazon. Really kicking myself for not pulling the trigger earlier on this.
(I’m not affiliated with Shopify at all... just a very happy customer who left a platform that set a very low bar).
On Mon, Aug 24, 2020 at 9:56 AM Renee Johnson notifications@github.com wrote:
@toofastdriving https://github.com/toofastdriving thanks so much for sharing! We've recently been able to recreate the issue and are investigating this further to find the root cause. Curious are you also using the Stripe integration for WooCommerce https://wordpress.org/plugins/woocommerce-gateway-stripe/?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/site-kit-wp/issues/1464#issuecomment-679246837, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMG2YQIGK3DHODKEPIUMMLSCKLU5ANCNFSM4MTMUA5A .
-- Patrick Tio Equipe 6735 Knott Ave | Buena Park, CA 90620 Tel: 714-670-8886 | Cell: 714-624-5030 patrick@equipeathletics.com | equipeathletics.com http://www.equipeathletics.com/ Facebook https://www.facebook.com/equipeathletics | Instagram https://instagram.com/equipeathletics
@toofastdriving thanks so much for sharing! We've recently been able to recreate the issue and are investigating this further to find the root cause. Curious are you also using the Stripe integration for WooCommerce?
Yes - I am using Stripe Integration for WooCommerce.
I have investigated this a bit and have some updates, although no solution yet:
Note: problem seems intermittent - sometimes these steps don't seem to produce the error.
Item should be in cart.
"Your cart is currently empty."
I wasn't able to figure out why these callbacks fail when Site Kit is active. I'd like to escalate this to GoDaddy support so we can get some help debugging what is happening. I'll also look at the code that handles the Ajax callback (link) to see if anything stands out that might conflict.
Once possibility is a mismatched security nonce - I noticed this request includes a nonce name 'security', if the front end and back and are mismatched instances due to a distributed architecture, the request might fail.
Managed Wordpress uses caching called Varnish that cannot be turned off. I’ve already been down this road. It’s unsolvable until Go Daddy even admits its an issue. However all they will do is create a new site, it’ll be fine, and tell you the problem isn’t theirs. Like I’ve said... be prepared to rebuild your site on a new server or just leave for another host/platform. I did the latter.
On Tue, Aug 25, 2020 at 3:24 PM Adam Silverstein notifications@github.com wrote:
I have investigated this a bit and have some updates, although no solution yet:
Steps to reproduce:
Delete cookies from the test site.
Add an item to your cart.
Click the "View Cart" link that appears.
Note: problem seems intermittent - sometimes these steps don't seem to produce the error.
Expected Result
Item should be in cart.
Actual result
"Your cart is currently empty."
Additional Details
If you make no changes, just wait one minute and refresh, the item will appear in the cart (caching?)
Not certain if you activate any modules or set up Site Kit - caching makes it a bit hard to tell when changes in wp-admin take effect on the front end.
When Site Kit is not active the issue does not occur.
= The failing request is an ajax request to domain.com/?wc-ajax=wc_stripe_get_cart_details, the request fails with a "403 Forbidden"
This looks like the same issue: https://themenectar.ticksy.com/ticket/1802800/
Next Steps
I wasn't able to figure out why these callbacks fail when Site Kit is active. I'd like to escalate this to GoDaddy support so we can get some help debugging what is happening. I'll also look at the code that handles the Ajax callback (link https://github.com/madmath/woocommerce-gateway-stripe/blob/53b8976d2d9c2433471727eca0ae9bf1a46c7a97/includes/class-wc-stripe-payment-request.php#L25) to see if anything stands out that might conflict.
Once possibility is a mismatched security nonce - I noticed this request includes a nonce name 'security', if the front end and back and are mismatched instances due to a distributed architecture, the request might fail.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/site-kit-wp/issues/1464#issuecomment-680299498, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMG2YWNO7KIJMS3QWWXTO3SCQ22BANCNFSM4MTMUA5A .
-- Patrick Tio Equipe 6735 Knott Ave | Buena Park, CA 90620 Tel: 714-670-8886 | Cell: 714-624-5030 patrick@equipeathletics.com | equipeathletics.com http://www.equipeathletics.com/ Facebook https://www.facebook.com/equipeathletics | Instagram https://instagram.com/equipeathletics
Managed Wordpress uses caching called Varnish that cannot be turned off. I’ve already been down this road. It’s unsolvable until Go Daddy even admits its an issue. However all they will do is create a new site, it’ll be fine, and tell you the problem isn’t theirs. Like I’ve said... be prepared to rebuild your site on a new server or just leave for another host/platform. I did the latter.
Hi Patrick - for my situation my site works perfectly fine even with basic google analytics. There's no need for me to rebuild or change platforms. Yeah WooCommerce isn't the most user-friendly and GoDaddy isn't the best for e-commerce - but it does work. There may very well be an issue with Varnish or caching some something else entirely - I'll wait and see if it can get resolved by the people who know more about this than me. All the best on shopify.
Does your site work with analytics or with sitekit? this specific thread is dealing with sitekit being installed. installing analytics manually works just fine (oddly enough).
Patrick Tio Equipe 6735 Knott Ave | Buena Park, CA 90620 Tel: 714-670-8886 | Cell: 714-624-5030 patrick@equipeathletics.com | equipeathletics.com http://www.equipeathletics.com/ Facebook https://www.facebook.com/equipeathletics | Instagram https://instagram.com/equipeathletics
On Tue, Aug 25, 2020 at 6:26 PM toofastdriving notifications@github.com wrote:
Managed Wordpress uses caching called Varnish that cannot be turned off. I’ve already been down this road. It’s unsolvable until Go Daddy even admits its an issue. However all they will do is create a new site, it’ll be fine, and tell you the problem isn’t theirs. Like I’ve said... be prepared to rebuild your site on a new server or just leave for another host/platform. I did the latter.
Hi Patrick - for my situation my site works perfectly fine even with basic google analytics. There's no need for me to rebuild or change platforms. Yeah WooCommerce isn't the most user-friendly and GoDaddy isn't the best for e-commerce - but it does work. There may very well be an issue with Varnish or caching some something else entirely - I'll wait and see if it can get resolved by the people who know more about this than me. All the best on shopify.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/site-kit-wp/issues/1464#issuecomment-680406025, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMG2YSAP4LALZNXR3HFVQ3SCRQFLANCNFSM4MTMUA5A .
Just adding a quick update that we're in contact with the team at GoDaddy to help further troubleshoot this issue. We'll provide updates accordingly.
It looks like this issue has been corrected on the GoDaddy side. Can you please confirm @equipeathletics , @ernee or anyone else?
In my testing, I haven't experienced the issue any longer and one user reported in the forums that they do not experience it as well. I'm awaiting another user to follow up. However, we can close if there isn't feedback otherwise.
looks to be fixed on my end... too bad I've already moved to shopify. couldn't afford to go the last 4 months without an e-commerce site during one of the biggest e-commerce rushes we've seen in a lifetime. shame on go daddy for ignoring this problem for so long and blaming everyone else except their own server settings.
Patrick Tio Equipe 6735 Knott Ave | Buena Park, CA 90620 Tel: 714-670-8886 | Cell: 714-624-5030 patrick@equipeathletics.com | equipeathletics.com http://www.equipeathletics.com/ Facebook https://www.facebook.com/equipeathletics | Instagram https://instagram.com/equipeathletics
On Wed, Sep 16, 2020 at 4:52 PM Renee Johnson notifications@github.com wrote:
In my testing, I haven't experienced the issue any longer and one user who reported https://wordpress.org/support/topic/google-site-kit-cart-empty-cache-issue/ in the forums that they do not experience it as well. I'm awaiting another user https://wordpress.org/support/topic/google-tag-manager-empty-cart-error/ to follow up. However, we can close if there isn't feedback otherwise.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/site-kit-wp/issues/1464#issuecomment-693725715, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMG2YW5UDKVAQACKIXLKHDSGFFR7ANCNFSM4MTMUA5A .
Thanks for confirming the fix in any case @equipeathletics and for taking the time to file your initial report. I understand your frustration about how long this took to get resolved, I'm glad you were able to find a workable solution even it it meant changing platforms :)
Closing this issue as resolved, this underlying bug was fixed upstream by GoDaddy.
Bump.....Can this be reopened?
I have this problem as well. Godaddy Managed Wordpress. Website- bazookabob.com
Intermittent problems with users adding to cart then receiving 'Your cart is empty' message when trying to view cart I can't recreate on my end(only once, but not since) using multiples devices.
Can't get ANY answer from Godaddy as to whether or not their system caches Woocommerce pages intentionally or otherwise. Had two Godaddy "experts" they don't use server-side caching at all.
Installed Wp-Rocket caching plugin as it's the only one Godaddy allows on managed wordpress and, by default, instructs not to cache woocommerce pages.
Could this be as simple as deleting Google analytics code?
Forgot-
Do not have Sitekit installed. Plain Google Analytics code. Was installed on Monsterinsights, removed from there and placed in head in BeaverBuilder theme. Appearance>Themes>Customize(button on Beaverbuilder theme pic)>Code>Head code
Didn't switch themes to test as switch to storefront had my site looking a ridiculous mess.
Important to note this does not happen to ALL users but those it happens to it seems to happen always.
Bug Description
When Google Sitekit is installed and activated into a Wordpress build with WooCommerce the shopping cart will show as empty for 30-60 seconds. When browser is refreshed afterwards, items will show in the cart. When user is logged in or when user has already waited the 30-60 seconds, shopping cart will operate as normal. But if opening a new incognito instance, the problem is repeatable.
Steps to reproduce
Screenshots
www.equipeathletics.com/Annotation%202020-04-28%20213712.png www.equipeathletics.com/Annotation%202020-04-28%20213712-1.png
Additional Context
I was able to read another solution posed by updating the Google Tag Manager Container, but that does not seem to help my case. I have created a new GA asset as well as Tag Manager Container to no help. The current version of my staging site that I linked above only has Google Sitekit installed and activated, it has not been linked to any GA or Google Tags information.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
QA Brief
Changelog entry