Chuck Mac
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Sales By Location Report] Display the order value and locationNo, an order level breakdown is not possible with this plugin. That sounds like more of case for a full order export plugin.
Forum: Plugins
In reply to: [WooCommerce Sales By Location Report] Deprecated error messageShould be fixed in the latest version (1.3.2)
Forum: Plugins
In reply to: [Analytics for Cloudflare] Plugin won’t show all my domainsThanks for your feedback. This has been updated in the latest version of the plugin (version 1.1).
Forum: Plugins
In reply to: [Analytics for Cloudflare] Just a couple of suggestions…Thank you for the feedback.
I have added these enhancements to the list for the next development cycle.
Forum: Plugins
In reply to: [WooCommerce Sales By Location Report] Missing CSS and JSThank you for the report.
These files were not updated properly during the deployment process. I just pushed version 1.3.1 which has the correct library files in it.
@ponderinstuff Thanks for your feedback. I do have plans to eventually add the state level. I don’t have a timetable for that at the moment.
I do not have any plans currently to add a city level – there is no map available for the software this uses that will go down to that level of detail.
I am not aware of any plugin that goes down to the city level. I do not see any others on the WordPress.org repository, but a quick search turned up this paid one which does appear to provide a report by state (I have never used it and am not affiliated with it in any way so please do not take this as an endorsement):
http://codecanyon.net/item/advanced-woocommerce-reporting-/12042129
Forum: Plugins
In reply to: [Analytics for Cloudflare] Anyway to display analytics on a post or pageYour code looks like it should work.
The direction for how to determine the zoneID on CloudFlare look like they are outdated. I poked around for a few minutes and can’t see an easy way to extract them from there.
If you have it linked up in your WordPress dashboard you can do a view source on the settings page… the
cmd_analytics_for_cloudflare_settings[domain]dropdown box has all the zoneIDs in it.ex:
<select name="cmd_analytics_for_cloudflare_settings[domain]" data-dynamite-selected="true"> <option value="thisismyzoneid" selected="selected">domain.com</option> </select>Forum: Plugins
In reply to: [Analytics for Cloudflare] Anyway to display analytics on a post or pageI pushed a new version (1.0.2) which has some new filters for the API settings. Specifically the domain is
cmd_analytics_for_cloudflare_set_api_domain. The trick here is that this is the ZoneID key for the domain… not just the bare domain name.I also played around for a few minutes trying to get the chart to display on the front end. I was able to get it working with the following code in a template.
//Need to include the dashboard widget class since that is typically only loaded on is_admin $plugin_file = WP_PLUGIN_DIR . '/analytics-for-cloudflare/includes/class-analytics-for-cloudflare-admin-dashboard.php'; require_once( $plugin_file ); //Create a new instance of the class $dashboard = new CMD_Analytics_For_Cloudflare_Admin_Dashboard(); //Enqueue the chartJS styles / javascript. Trick it into thinking we are on the dashboard index.php page $dashboard->enqueue_dashboard_scripts_styles('index.php'); //Load up the chart! $dashboard->display_dashboard_widget();Good luck!
Forum: Plugins
In reply to: [Analytics for Cloudflare] Anyway to display analytics on a post or pageI had never really thought about that use case when developing this (which is great!).
I will add some filter in and push a new release in a day or 2 so that the domain can be changed programmatically.
Forum: Plugins
In reply to: [Analytics for Cloudflare] Anyway to display analytics on a post or pageThanks for trying out the plugin.
There is no “easy” way built in to display the statistics on the front end such as a shortcode. That said, the code should be reusable to build an extension off of it that would display the data on the frontend.
Specifically the
display_dashboard_widgetfunction in includes/class-analytics-for-cloudflare-admin-dashboard.php.Forum: Plugins
In reply to: [WooCommerce Sales By Location Report] Latest Plugin CompatibilityThanks for the feedback.
Yes, I do plan on making future updates to the plugin… hoping to have one out shortly infact.
Thank you for the feedback.
Currently the report is by country only. I do see this is not prominently displayed so will update the description for this.