Hi Miguel,
Thanks for reaching out. I’ll check this out and report back to you here. While doing so, so that I can replicate the same error and investigate, please share the following:
- Your Site Health information. You can use this form to share privately if preferred.
- Did you check whether the same occurs with a manually placed Google Analytics snippet? I ask as the snippet Site Kit places is similar to a standard snippet if placed manually. Alternatively, you can add Google Analytics to your site via Tag Manager, connected via Site Kit. After doing so, you can disable the option for Site Kit to placed the Google Analytics snippet, so the module remains connected. This may be a workaround for you.
- Does the same occur in troubleshooting mode when following the steps in this guide? Note that you will need to activate Site Kit, CartFlow and WooCommerce in troubleshooting mode in order to test this.
Let me know if you have any questions with the above. Thank you.
Hi James,
Thank you for the quick response, I have filled in the Google Forms you have sent me – meanwhile I am trying out the second option you told me that could be the possible workaround.
Please let me know what you’ve observed regarding the health status of my website, where could be the possible problem.
Thank you very much!
Sincerely,
Miguel
Thanks for sharing @miguelos. From reviewing the Site Health information you kindly shared and the checks I performed I don’t see anything obvious that would be causing such a conflict. I did reach out to CartFlows regarding testing their plugin. As it’s a commercial plugin I can’t test without a copy. I’ll let you know should I receive an update.
From your side, did you get a chance to test out using Tag Manager as your Google Analytics method? If so, let me know how it went.
Another option to try and determine a multi party plugin conflict is to perform the steps below:
- Login to your live site from a Chrome browser incognito window.
- Install and activate the Health Check & Troubleshooting plugin.
- Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
- 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“, “WooCommerce” and “CartfFlows”.
- Complete the checkout process once more.
Note that when performing the above, a different theme will be active for you only, as a logged in administrator. As I don’t see a core theme installed on your site, it may propose you install one. Regular visitors to your site are not impacted. This is a great way to ensure multiple plugins are not impacting your experience.
Let me know if you have any questions with the above.
Hi James,
Thank you very much for your quick response – one thing about the CartFlows Plugin, I use the free version, so there may not be the need to ask the developers for the copy + I have contacted CartFlows Support too, and this is the response I have gotten.
“Hello Aaron,
Thanks for contacting CartFlows support.
The issue stems from the ‘Google Site Kit’ plugin. They’ve used an action hook but missed adding a page builder condition, which causes problems when the page is opened in the editor window or on the thank you page.
Since the issue is with the ‘Google Site Kit’ plugin’s code, we cannot control or fix it on our end. We suggest disabling the plugin while using CartFlows and also contacting ‘Google Site Kit’ support to address the issue. The fix should come from their side.
If you need any additional information from us, please let us know, and we can share our developers’ findings on this matter.“
About the Tag Manager, I am still figuring this out a little, as I didnt have that much time and I am not a technical type, more like a user type. But once I will have it, I will let you know.
I really appreciate your time and I wish you a wonderful weekend, James!
Best regards,
Miguel
We didn’t hear back from CartFlows but I will bring this to the attention of our team @miguelos. I’m unaware of any standard WordPress filter or condition that can be used to identify WordPress content that are not part of the standard content types. If you’re able to ask them more about what should be used, I can also forward this to the team.
Do also let me know how you get on with using Tag Manager to insert your Google Analytics snippet.
Hi James,
I’ve reached out to CartFlows and shared the message you provided:
“If you’re able to ask them more about what should be used, I can also forward this to the team.”
Once I receive their response, I’ll keep you updated.
Take care,
Miguel
Perfect, thank you @miguelos! I’ve also set some time aside to check this with the team. I’ll let you know here once I have an update.
Hi James,
Just writing about CartFlows newest answer – “Thanks for writing back, I couldn’t find any ticket from them. Let me share this with our devs and ask if they received such a request from the Google site kit plugin team.“
Thank you very much again for taking your time in this matter, means alot to me.
Best regards,
Miguelos
Thanks for the update Miguelos. I also spoke with our team on this and they asked what is the exact error you where you encounter this critical error. Is it the standard critical error as per this screenshot, or something else? Please also share any browser console errors that may appear.
Hi James,
Thank you for the quick response!
Here is how the Thank You page should look like: https://imgur.com/a/499epYp
This is how it looks like when enabling Google Site Kit: https://imgur.com/a/ZaYKrDt
And this is the console with Google Site Kit enabled: https://imgur.com/a/bUkHSjf
Please let me know if you find any fix for it!:)
Best regards,
Miguelos
Thanks for sharing @miguelos. I performed some checks with the same plugins and in my case I don’t encounter the same critical error (example). Based on this, I suspect a multi party plugin conflict.
To test this further, while you’re awaiting an update from the CartFlows team, please perform the below steps:
- Login to your live site from a Chrome browser incognito window.
- Install and activate the Health Check & Troubleshooting plugin.
- Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
- 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“, “WooCommerce” and “CartfFlows”.
- Complete the checkout process once more.
Let me know how you get on with the above.
Hi James,
Thank you for your response! I have tried it and I have came to these results:
- When enabling just Woocommerce, Google Site Kit & CartFlows – the site looks really messed up as the design is made through Elementor, but from my perspective there seems to be no text containing ´´There has been a critical error on this website…´´.
- When enabling these plugins + Elementor, the website looks alot more normal, although there is the visible text containing ´´There has been a critical error on this website…´´.
I appreciate your help and I wish you a wonderful weekend, James!:)
Best regards,
Miguel
Thanks for the update @miguelos. It does sound like you’re facing a multi party plugin conflict, given I – like yourself, don’t encounter the same issue with only Site Kit, WooCommerce and CartFlows active. With WooCommerce, Site Kit, CartFlows and Elementor active in troubleshooting mode once more, please check do you encounter the error in the following circumstances:
- If you temporarily disable the Site Kit admin toolbar (Site Kit > Settings > Admin Settings > Display relevant page stats in the Admin bar).
- If you temporarily select the option for Site Kit to not place the Google Analytics snippet on your site.
- If you temporarily disable Enhance Conversion Tracking from your Site Kit settings.
Note that in troubleshooting mode, it’s normal that your site won’t function or appear as it does normally. Troubleshooting mode switches to a core theme, to help determine theme specific conflicts.
Let me know if you have any questions with the above.
Hi James,
I have tried all the above possible solutions you provided, although the error still appears at the Thank You page…
Best regards,
Miguelos
Hi guys,
I had the same problem with Google Site Kit messing up the CartFlows thank you page (the styling was off and I couldn’t edit it with Elementor, which caused a critical error). After a lot of testing, I found a temporary fix which is to unload the Google Site Kit plugin in the front end for the CartFlows custom post type (cartflows_step).
I used the Asset Cleanup Pro plugin. Here’s what to do:
- Go to Plugin Manager and activate the rules.
- Scroll down to Site Kit by Google.
- Choose “Unload this plugin from the front-end” and select “On pages of these post types.”
- Search for cartflows_step and click “Apply changes” at the bottom of the page.
As shown in the picture: https://postimg.cc/3Wd5vPjS
You can try this and see if it works for you. I hope this issue can be fixed with future updates.
Best regards,
Imad.
-
This reply was modified 1 year, 8 months ago by
imades.
-
This reply was modified 1 year, 8 months ago by
imades.