Michael K
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] PHP 7.2 ?Hi there,
I have the WooCommerce Google Analytics Integration plugin running on PHP 7.2.17, on a test site without any issues. I just checked traffic in the Audience Overview and I’m seeing users appear there.
I’d suggest to have a look at any PHP log files to see if any specific warnings / errors are showing up.
Otherwise you could configure your site to log warnings / errors to a file like is suggested here: https://codex.www.ads-software.com/Debugging_in_WordPress#Example_wp-config.php_for_Debugging
You can then check the log file to see if any additional clues show up about code which might not be compatible.Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Code leak on tooltipsThe plugin doesn’t allow any way to customize that. So the only way would be to customize the code itself. This isn’t usually recommended though, as you will lose any of your changes when you update the plugin.
But if you are a bit handy with PHP I’d suggest to have a look at the function
listing_click
in the filewoocommerce-google-analytics-integration/includes/class-wc-google-analytics-js.php
If you change the
echo
call towp_enqueue_js
it will load the JavaScript in the footer instead. Note that you will need to also strip off the beginning and ending<script>
tags for that to work.Hi,
There aren’t any limitations on how many orders can be tracked. So if tracking is only working for the first few orders, then you might want to run through a set of troubleshooting steps to find out what could be preventing the orders from being tracked.
I’d suggest checking the following:
– Make sure you aren’t testing the tracking while logged in as an administrator (this won’t be tracked)
– Use a payment gateway that redirects to the thank you page as the final step. If not the order payment won’t be tracked.
– Troubleshoot your site using the Google Tag Manager extension for Chrome. You can enable it to record on your site to see if there are any duplicate issues or other issues reported. If there are any you can take a look at the details to see what might need to be resolved. You can also check to make sure it’s sending unique order details especially a unique order number.
– Check for filters in your Google Analytics settings. Make sure there aren’t any filters setup, either for your account or the view, as this could prevent some of the tracked data from showing up. The following documentation can be helpful to understand more about filters: https://support.google.com/analytics/answer/1034823?hl=enHi,
The Google Analytics Integration plugin uses just basic eCommerce event tracking. It doesn’t add any specific steps to any of these events. So it’s best to leave the funnel steps unlabeled.
If you need greater control over the checkout funnel, I’d suggest to try out Google Analytics Pro: https://woocommerce.com/products/woocommerce-google-analytics-pro/
The following documentation outlines which checkout funnel steps are used by the Pro plugin: https://docs.woocommerce.com/document/woocommerce-google-analytics-pro/#section-6
Hi,
The Analytics plugin you linked to has eCommerce tracking available, so you shouldn’t need to use any other plugin with it. It would be best to ask their support directly if the two are compatible.
According to the documentation on their site it mentions you shouldn’t have any other tracking plugins active in the prerequisites section: https://exactmetrics.com/how-to-install-the-exactmetrics-plugin-on-your-wordpress-site/
You might want to ask their support if there is any way around that.
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Code leak on tooltipsHi,
The Google Analytics Integration plugin adds the JavaScript to the add to cart button through default WooCommerce hooks.
It’s only included once there on your site. However it seems the theme is copying over all the text to get the tooltip title. In this case that would be specific code which is part of the theme, so it would be best to contact the theme authors, to see how that can be resolved.
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] GA E-Commerce tracking stopped performingHi there,
If tracking all of a sudden stopped working. I would suggest to check if there are any conflicts with any other tracking solutions on your site. The best way to trouble shoot this is to use the Google Tag Manager extension for Chrome. You can enable it to record on your site to see if there are any duplicate issues or other issues reported. If there are any you can take a look at the details to see what might need to be resolved.
Make sure to try this out while you are not logged in to your site, as by default it won’t add tracking for any administrator users.For example the site in the original request is showing a duplicate warning.
If you can confirm that the tracking data is being sent correctly, then I’d suggest to check for filters in your Google Analytics settings. Make sure there aren’t any filters setup, either for your account or the view, as this could prevent some of the tracked data from showing up.
The following documentation can be helpful to understand more about filters: https://support.google.com/analytics/answer/1034823?hl=en
Forum: Plugins
In reply to: [WooCommerce] Product page with variations – loading out of stock pageHi,
If you go to WooCommerce > Settings > Products > Inventory, there is an option to “Hide out of stock items from the catalog”. If this is enabled then the out of stock variations shouldn’t show up as a selectable option.
However there are also some JavaScript errors showing up on your page. This might interfere with how the options are displayed.
I’d suggest to resolve the JavaScript errors first and check if there are any theme/plugin conflicts which could be causing this.Forum: Plugins
In reply to: [WooCommerce] Add custom fields to New Order emailsThere are many ways to get it done. My suggestion was to add it on an action hook if the other code wasn’t working for you. Although you would need to change the code completely in how it displays the custom data.
The following documentation explains more on how actions hooks vs filters work:
https://docs.woocommerce.com/document/introduction-to-hooks-actions-and-filters/The original code you were using should also work. There isn’t any specific reason why that isn’t working. Although I would suggest to get the data directly from the $order object. Something like this works perfectly for me:
add_filter( 'woocommerce_email_order_meta_fields', 'custom_woocommerce_email_order_meta_fields', 10, 3 ); function custom_woocommerce_email_order_meta_fields( $fields, $sent_to_admin, $order ) { $fields['card_message'] = array( 'label' => __( 'Enter your message to appear on the card' ), 'value' => $order->get_meta( 'card_message', true ), ); return $fields; }
Forum: Plugins
In reply to: [WooCommerce] Sabit fiyatl? kargoHi,
We are generally only able to help in English. I used Google Translate to find out what your question was.
It seems you are lacking some of the Flat Rate shipping options which were available in WooCommerce previously.
The flat rate settings in WooCommerce did change a while ago, but they are now more flexible then before. The following documentation explains a bit more on how it works: https://docs.woocommerce.com/document/flat-rate-shipping/
Is there a specific scenario you aren’t able to configure with this?
There are also lots of additional plugins (both paid and free) which offer additional shipping methods.
Forum: Plugins
In reply to: [WooCommerce] “Dupicate SKU” warning has vanishedHi there,
I just tested this with the latest version of WooCommerce and I’m still getting the following error when trying to save a product with a duplicate SKU:
Invalid or duplicated SKU.
You mentioned you checked for conflicts by disabling plugins. Did you also try to switch to a default theme?
I’ve also seen them hidden before with some CSS rules. In that case you could look at the HTML code to see if there is an error being displayed on the page (after saving a duplicate SKU).
Hi there,
By default the manual order payment page will contain both the order details and the payment option. It should look something like this (a screenshot of how it looks with Storefront): https://cloudup.com/ccbfYl9NjKP
Would you be able to check if there are any theme / plugin adjustments in place, by disabling plugins and switching to a default theme?
Forum: Plugins
In reply to: [WooCommerce] Checkout erorIn the stack trace it shows that in the theme (themes/academy/woocommerce/checkout/form-checkout.php), it’s calling some function to get related posts: ThemexWoo::getRelatedPost
This results in it loading an invalid order object.You would be best off to contact your theme authors about this error so they could have a closer look.
Forum: Plugins
In reply to: [WooCommerce] Add custom fields to New Order emailsIf you have a look at the email order template you can see that the hook it uses is called “woocommerce_email_order_meta”
Also the variables which are passed to the hook are very different. So you would need to adjust these accordingly. You will get an instance of $order which you can use to get your custom fields.
Forum: Plugins
In reply to: [WooCommerce] Not all variations are being createdHi Craig,
4000 variations sounds like a large amount. While technically there is no hard limitation to the amount of variations that can be used, you might run into other physical limitations.
Generally WooCommerce will use pagination to display the variations, so it won’t try to save 4000 variations at once. Would you be able to clarify if you are having problems when creating a large amount of variations manually. Or are you having problems with the option “Create variations from all attributes”.
If you need to create such large products I’d suggest to use the product importer instead. This way you can create an import file for a product and all it’s variations. The following documentation explains more on how the importer can be used: https://docs.woocommerce.com/document/product-csv-importer-exporter/
Also if there are certain attributes that do not influence the price then it’s not always necessary to create a variation for each one.
For example if you have 2 attributes, size and colour. And only size is a different price. Then you could create the following variations:
Small – Any colour = €6
Medium – Any colour = €8
Large – Any colour = €10This will allow you to reduce the amount of variations which are needed.
Another option to reduce variations is to add some of the options through the Product Addon extension: https://woocommerce.com/products/product-add-ons/