Google Analytics Widget Errors – (401) Invalid Credentials
This topic contains 5 replies, has 3 voices, and was last updated by Lauren Randolph 7 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 24, 2017 at 12:43 am #402228
I was getting a null response back when I would click on the Google Analytics button on the listing. It seems to be an issue with WooCommerce Google Analytics Pro by Skyverge. I dug into the issue a bit more and got this stack trace:
#0 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client))
#1 [internal function]: Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request))
#2 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Task/Runner.php(174): call_user_func_array(Array, Array)
#3 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Http/REST.php(46): Google_Task_Runner->run()
#4 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Client.php(590): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#5 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Service/Resource.php(237): Google_Client->execute(Object(Google_Http_Request))
#6 /home/laurenr9/public_html/dev/wp-content/plugins/woocommerce-google-analytics-pro/lib/google/google-api-php-client/src/Google/Service/Analytics.php(3162): Google_Service_Resource->call(‘list’, Array, ‘Google_Service_…’)
#7 /home/laurenr9/public_html/dev/wp-content/plugins/geodirectory/geodirectory-admin/class.analytics.stats.php(124): Google_Service_Analytics_ManagementProfiles_Resource->listManagementProfiles(‘XXXXXXXX’, ‘UA-XXXXXXX-X’)
#8 /home/laurenr9/public_html/dev/wp-content/plugins/geodirectory/geodirectory-functions/google_analytics.php(112): GDGoogleAnalyticsStats->getSingleProfile()
#9 /home/laurenr9/public_html/dev/wp-content/plugins/geodirectory/geodirectory-functions/ajax_handler_functions.php(429): geodir_getGoogleAnalytics(‘/hotels/united-…’, ”, ”)
#10 [internal function]: geodir_show_ga_stats(”)
#11 /home/laurenr9/public_html/dev/wp-includes/class-wp-hook.php(298): call_user_func_array(‘geodir_show_ga_…’, Array)
#12 /home/laurenr9/public_html/dev/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#13 /home/laurenr9/public_html/dev/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#14 /home/laurenr9/public_html/dev/wp-admin/admin-ajax.php(91): do_action(‘wp_ajax_gdga’)
#15 {main}It looks like it’s using their copy of the Google API PHP Client, which is slightly different than yours (http://www.mergely.com/7zE1ykpc/). I’m using https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/ instead, but I thought I’d let you guys know about the issue.
October 24, 2017 at 4:59 am #402246Hi Lauren,
Looks like it is conflicting with GD. I’ll forward this to a developer.
Thanks!
October 24, 2017 at 11:44 am #402297Hi Lauren,
I am guessing that plugin is not free? If you can provide it i will take a look, if its an easy fix i will look into it if you still intend to use it?
Stiofan
October 24, 2017 at 5:02 pm #402364This reply has been marked as private.October 25, 2017 at 9:58 am #402471Thanks for the link, it seems they are using a older version of the Google API, if they upgrade to the latest V1 version (1.1.8) it should work, there is not much else we can suggest.
Thanks,
Stiofan
November 7, 2017 at 4:12 pm #404495Thanks.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket