mystyleplatform
Forum Replies Created
-
We’re not using that filter, we’re just using WooCommerce Analytics and the popular Monster Insights analytics plugin. It looks like there was a patch released recently (1.4.14) and lists the missing quotation mark as the only update, so I imagine this is fixed. I will test soon.
I was able to patch this issue in file class-wc-google-analytics.php in your plugin by changing the line to include the protocol in the url, like:
$ga_snippet_head = "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','" . self::tracker_var() . "');";
Error in console is (index):211 Uncaught SyntaxError: missing ) after argument list
Are you logged in as admin by chance? It purposely omit the tracker for admin to avoid stats being thrown off by staff, as is standard practice. Test in an incognito window.
Hello, just wanted to update this thread that we did resolve the issue after rolling forward to 1.4.11 and solving another issue – another plugin was running an alternate order-confirmation/thank-you page that we didn’t realize. Once we removed that, the sales conversions reported fine again. How another plugin that specializes in creating this alternate flow does not automatically integrate with the main plugin for WC Ecommerce tracking I don’t know, but I guess you have to add the tracking even manually if you use that sort of plugin to avoid losing the normal tracking.
Here’s a Q:
Would having incomplete funnel steps defined in Google Analytics prevent sales conversions from logging correctly?
I see this particular site has 3 funnel steps defined in Google Analytics Ecommerce tracking admin options but not a conversion page step
I have rolled forward again, but it does not fix the issue… As per the previous suggestion, the Standard tracking is working fine, it’s reporting real time stats with concurrent users, all normal analytics, it’s just sales data / ecommerce data that is not coming through… but it was working fine before recent updates. If Standard tracking is working, then that shows the Google Account is still connected OK right?
Is there something I can look for on the checkout page or anything to verify if the plugin is dropping code to the page correctly or is missing entirely? I can see the comment and tracking code like this on the checkout page:
<!-- WooCommerce Google Analytics Integration --> <script type="text/javascript"> var gaProperty = 'UA-XXXXXXXXX-1'; var disableStr = 'ga-disable-' + gaProperty; if ( document.cookie.indexOf( disableStr + '=true' ) > -1 ) { window[disableStr] = true; } function gaOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } </script> <script type="text/javascript">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga( 'create', 'UA-XXXXXXXXX-1', 'auto' );ga( 'set', 'anonymizeIp', true ); ga( 'set', 'dimension1', 'no' ); ga( 'require', 'ec' );</script> <!-- /WooCommerce Google Analytics Integration -->
Hi,
We had version 1.4.10 with this issue (ecommerce stats not tracking) and found this ticket. We upgraded to 1.4.11 but still had no Google Analytics Ecommerce tracking coming through at all (multiple sales per hour). We downgraded back to 1.4.9 and still seem to have the issue. It was working fine until we upgraded all of our plugins including this one a month or so ago… Any suggestions?
Is it necessary to deactivate and reactivate, or save settings, clear cache, or anything in order to fix the issue besides rolling back versions?
Thanks
Forum: Plugins
In reply to: [WooCommerce Show Attributes] Default Attributes Tab Not ShowingHi,
Thanks for your response.
Could you specify where this setting is or take a screenshot? I don’t seem to have any settings under WooCommerce > Settings > General that are named “Product Details” and there’s no settings with any values called “Product Details”…
Forum: Plugins
In reply to: [WooCommerce] My Account links not workingWP Admin > WooCommerce Settings > Advanced (tab) > Page Setup (section) > My Account Page setting
Set it to your My Account page properly, and this will fix the dashboard links. If it’s not set, broken links like /orders/ will occur instead of /my-account/orders/ etc.
Forum: Plugins
In reply to: [WooCommerce Show Attributes] Default Attributes Tab Not ShowingStill wondering if this plugin can be used without losing the normal attributes tab on “Simple Products” or not… ?
Hi George,
The WooCommerce Multi-Lingual plugin that integrates Woo with WPML just pushed an update (4.6.0), and it seems to have fixed it for us.
Thanks,
– Sean
Hi,
I have the same issue, all the links on the My Account page are broken and just link to the same page you’re already on (the main my account page). But, I don’t think we can use that other setting as a workaround for the bug without losing pages that are not translated, correct?
We are using WPML / WooCommerce Multi-Lingual and we want all currencies available regardless if there is a translation for the page or not. It seems then our only choice is the “Translatable – use translation if available or fallback to original language” setting for all pages/content, rather than the “translate only” where pages are not shown if there is no translation for the selected language.
Optionally we would be ok with “no translation” as we mainly use the integration points rather than the translation ability, but WPML told us that we should be using the translate and fallback option rather than no translation or other issues will occur with Multi-Lingual multi-currency features etc. Is it possible to have that setting and have these links work? Or is this still an active bug?
The integration points with other popular plugins like WooCommerce and many others, is key to connecting a lot of great functionality. But, as a developer stability is key, and I’d like to see all of the features working with fallback to default language before trying other modes or putting more time into adding content to the system where non-translated pages are outright hidden. Any site with lots of pages would need a transition period with this type of setting before being fully translated.
Let me know if there is an update or another way to fix it.
Thank You!
Forum: Fixing WordPress
In reply to: syntax error, unexpected ‘text’ (T_STRING)Here was my recovery steps:
1- Use Cpanel > PHPMyAdmin and check your wp_options table to verify your site_url is set to your domain name. This should allow access to your admin (change all your passwords as you gain access to your site again)
2- Search the DB for anything containing the bad URL and replace it. Search wordpress as well.
3- Once you’re in your admin, use Wordfence and run a full scan. Auto-fix all the files it finds to be bad to replace them, and highlight any other issues with suggestions on how to fix.
4- Update all plugins and themes in your system. Get rid of anything you don’t use
5- Check your .htaccess file to make sure no strange redirects are there
6- Scan your site with external site scanners to verify no malware
I have a similar issue with a site hacked by what looks like russian spam, redirecting the wordrpess site to spammy ad sites, malware sites, etc.
/wflogs/ stands out as the main directory with recent changes on the server.
Did WordFence get hacked?