MadeMyDay Posted February 28, 2014 Posted February 28, 2014 I can't get this to work. Always getting the attached screen from Google. Client_ID, URLs and secret are triple checked, no success. Any ideas?
Wanze Posted February 28, 2014 Author Posted February 28, 2014 Hi, Does this answer on stackoverflow solve your issue? I guess it should: http://stackoverflow.com/questions/18677244/error-invalid-client-no-application-name Cheers 2
MadeMyDay Posted March 3, 2014 Posted March 3, 2014 Hi Wanze, thx! That did the trick. But no matter which account I choose, there are no records displayed. No errors in console.
JasonS Posted March 9, 2014 Posted March 9, 2014 Hi Wanze, thx! That did the trick. But no matter which account I choose, there are no records displayed. No errors in console. Did you use the account "All Website Data"? Note: I had the same issue as you, using this account worked for me.
MadeMyDay Posted March 11, 2014 Posted March 11, 2014 Did you use the account "All Website Data"? Note: I had the same issue as you, using this account worked for me. I can't see this selection. I only can select from about 15 domains I have configured in my GA account.
Wanze Posted March 11, 2014 Author Posted March 11, 2014 When i run into problems with the GA Api it was usually due to Curl, that was somehow configured wrong or different. Could you try if it maybe works after trying this here: http://processwire.com/talk/topic/1609-processgoogleanalytics/?p=43877 Otherwise I think you'd have to debug directly in the code and check if Google returns any error codes from the queries. Tell me if I can help you there. I will update the module and add the date range as main header rather than h2, which gets messed up with the new admin theme.
Manaus Posted March 20, 2014 Posted March 20, 2014 Great, Wanze! Tried following all the steps, but after Authentication I get a "Errore:invalid_client no application name" What do you think it might be? Thanks!!
Wanze Posted March 31, 2014 Author Posted March 31, 2014 @Manaus, Please take a look at some posts before, this solution may help: https://processwire.com/talk/topic/1609-processgoogleanalytics/?p=55523 @all I just updated the module to 1.2.1 which fixes the issue with the dates in the header with the new admin theme from 2.4. Looking at my code, I realized that this will need some refactoring if I finally find time (most likely during summer holidays). However, the fact that everything still works speaks very much for ProcessWire @MadeMyDay Could you solve the problems? I just installed on a brand new dev version of Pw and everything was working as expected. Cheers 1
JasonS Posted April 26, 2014 Posted April 26, 2014 I am getting this error after updating to installed: 1.2.1 Each time i click the google analytics TAB I see the below message. Method ProcessGoogleAnalytics::wire does not exist or is not callable in this context I tried to revoke my google account, i even tried uninstalling module, but this didn't work either. Can anyone explain why this is happening? And any possible solutions? Thanks.
Wanze Posted April 27, 2014 Author Posted April 27, 2014 Hi JasonS, Hmm it looks like the wire method is missing. What version of ProcessWire are you using? With version 1.2.1 I used the wire method two times: https://github.com/wanze/ProcessGoogleAnalytics/commit/81cb793eb7870226389b3609ab78f6af27602344 Can you try to change the two lines where this method is called like this:Edit: In the file /site/modules/ProcessGoogleAnalytics/ProcessGoogleAnalytics.module // $this->wire('breadcrumbs')->append(new Breadcrumb($this->page->url, $this->page->title)); wire('breadcrumbs')->append(new Breadcrumb($this->page->url, $this->page->title)); // $this->wire('processHeadline', $startDate . " - " . $endDate); Wire::setFuel('processHeadline', $startDate . " - " . $endDate); Does this solve the issue? 1
JasonS Posted April 27, 2014 Posted April 27, 2014 Hi Wanze, I'm using Processwire version 2.3.1 . Amazing!!! Your solution worked. Many Thanks.
alan Posted May 8, 2014 Posted May 8, 2014 Thank you very much indeed for this Module Wanze. After fixing a silly from Google 401. That’s an error.Error: invalid_client no application name that you'd kindly posted the fix to, I was in! And wow... It's clean view of GA data is in ways a significant step up from the native view in GA console. Let alone the convenience of seeing this data when I am working on a site. Fabulous Wanze!
adrian Posted June 15, 2014 Posted June 15, 2014 Hey Wanze, Just a small thing Could you please have the chart color config setting also control the color of the bar graphs throughout the module, rather than just the jQPlot charts? Thanks.
Wanze Posted June 15, 2014 Author Posted June 15, 2014 Hi Adrian, Thanks for your suggestion, it makes totally sense - will update the module later this week. The reason I've chosen to add this setting is that the color has to be set with javascript (jqplot) so it can't be controlled with CSS. The bar graph colors could be changed with CSS, but of course the colors should match by default! Cheers 3
blad Posted July 9, 2014 Posted July 9, 2014 Thanks! Works like a charm i will translate to spanish. 2
kongondo Posted August 28, 2014 Posted August 28, 2014 (edited) Hi Wanze, Tried on local install. Getting cannot fetch token error Ideas? Thanks. PW 2.4.15 (dev) Edit: Working fine on live server. Thanks! Edited August 28, 2014 by kongondo 1
Gerge.ly Posted September 12, 2014 Posted September 12, 2014 Thanks for this plugin! This should be on the Front-Page in the first post: http://stackoverflow.com/questions/18677244/error-invalid-client-no-application-name
Nico Knoll Posted December 25, 2014 Posted December 25, 2014 I think you'll never get a negative amount of visitors (so you don't need "-50") How to solve: Change line 42 in the js file (0 instead of null): yaxis:{min:0, ---------- And another little thing: 2
Wanze Posted December 27, 2014 Author Posted December 27, 2014 Thanks Nico, will integrate your suggestions in the next version 1
burana800 Posted June 2, 2015 Posted June 2, 2015 Hi, I tried to install the Google Analytics module in Processwire. I typed 'ProcessGoogleAnalytics' and clicked download and install but but I got the following the error message: Error decoding JSON from from web service Any idea what is causing this and how to enable downloading? BR JE
Pete Posted June 3, 2015 Posted June 3, 2015 Hi there Is JSON definitely installed on your server? Also, have you tried again since yesterday (just in case of a connection issue a the time)?
burana800 Posted June 7, 2015 Posted June 7, 2015 Hi Pete, thanks for your reply. To be honest I am a total newbie with these things and our html/code expert is out of office for couple of weeks, that's why I'm here.. How can I check if JSON is installed? Also tried again with sama error code appearing Cheers Juha
Manol Posted August 7, 2015 Posted August 7, 2015 Hello. I'm getting confuse with the installation in step 5: Enter a Redirect URI to the GA-Page in your Processwire Installation:http://yourdomain.com/processwire/google-analytics/ google-analytics is under the administration pages and uses the admin template, where do I've to do the redirect? Thanks.
Wanze Posted August 7, 2015 Author Posted August 7, 2015 Hi Manol, You have to enter the redirect URL in the Google API console. Google needs to know the URL of the app. Cheers 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now