Jeffro Posted March 26, 2014 Share Posted March 26, 2014 I am having trouble setting this up. I have the Client ID and Client Secret but I am not sure what to put in the Profile field. Please help. Error: redirect_uri_mismatch The redirect URI in the request: http://www.simplcig.com/Simpl/modules/gapi/oauth2callback.php did not match a registered redirect URI Link to comment Share on other sites More sharing options...
Lucas Cerdan Posted March 26, 2014 Share Posted March 26, 2014 You can find your profile ID in the address bar of your browser while accessing Analytics report. For the OLD VERSION analytics page the ID=xxxxxxxx is the following:https://www.google.com/analytics/reporting/?reset=1&id=XXXXXXXX&pdr=20110702-20110801 For the NEW VERSION analytic page it is the number at the end of the URL starting with p:https://www.google.com/analytics/web/#home/a11345062w43527078pXXXXXXXX/ Link to comment Share on other sites More sharing options...
Jeffro Posted March 26, 2014 Author Share Posted March 26, 2014 That seems to be the Project ID. I entered that and it still gives me the same error... Link to comment Share on other sites More sharing options...
Lucas Cerdan Posted March 26, 2014 Share Posted March 26, 2014 You followed all the steps given in the tutorial in the gapi module, and you still have errors? Link to comment Share on other sites More sharing options...
Jeffro Posted March 26, 2014 Author Share Posted March 26, 2014 What should the Redirect URI be? Link to comment Share on other sites More sharing options...
Jeffro Posted March 26, 2014 Author Share Posted March 26, 2014 https://www.SimplCig.com/Simpl/oauth2callback Link to comment Share on other sites More sharing options...
Jeffro Posted March 26, 2014 Author Share Posted March 26, 2014 OK, I changed the Redirect URI to http://www.SimplCig.com/Simpl/modules/gapi/oauth2callback.php Now I get: Error: invalid_client no application name Link to comment Share on other sites More sharing options...
fartous Posted March 26, 2014 Share Posted March 26, 2014 yes i have same issue also and same eeeror i get.any idea? Link to comment Share on other sites More sharing options...
We-vape.nl Posted March 29, 2014 Share Posted March 29, 2014 OK, I changed the Redirect URI to http://www.SimplCig.com/Simpl/modules/gapi/oauth2callback.php Now I get: Error: invalid_client no application name Here also the same results Don't know what is setup wrong. Link to comment Share on other sites More sharing options...
intrafusion Posted April 3, 2014 Share Posted April 3, 2014 Hi, I'm also having trouble with the Traffic block on the Dashboard. The Link to your Google Analytics account. I've established my ClientID and client secret. I've identified my project from google analytics, but I am unsure of the callback URL. I havent found any tutrial on this piece. Everything that I've seen was for setting up the google analytics script to collect traffic for google analytics but nothing to integrate reporting in the back office. Link to comment Share on other sites More sharing options...
Damien Metzger Posted April 3, 2014 Share Posted April 3, 2014 Hello, Can you try the solution described here: http://stackoverflow.com/questions/18677244/error-invalid-client-no-application-name Regards, 6 Link to comment Share on other sites More sharing options...
colexxx Posted April 8, 2014 Share Posted April 8, 2014 Hello, I have same problem.. I followed the tutorial in the page but when I save and authenticate i get: redirect_uri_mismatch can anybody help me? thanks Link to comment Share on other sites More sharing options...
andrewcjw Posted April 9, 2014 Share Posted April 9, 2014 (edited) Hello, Can you try the solution described here: http://stackoverflow.com/questions/18677244/error-invalid-client-no-application-name Regards, Hi After i press accept this error came out. redirect url http://www.domain.com/modules/gapi/oauth2callback.php THIS PAGE IS NOT AVAILABLE WE'RE SORRY, BUT THE WEB ADDRESS YOU'VE ENTERED IS NO LONGER AVAILABLE. Edited April 9, 2014 by andrewcjw (see edit history) Link to comment Share on other sites More sharing options...
goody974 Posted April 10, 2014 Share Posted April 10, 2014 Hi After i press accept this error came out. redirect url http://www.domain.com/modules/gapi/oauth2callback.php THIS PAGE IS NOT AVAILABLE WE'RE SORRY, BUT THE WEB ADDRESS YOU'VE ENTERED IS NO LONGER AVAILABLE. Same error as above for me Link to comment Share on other sites More sharing options...
cinnamong Posted April 12, 2014 Share Posted April 12, 2014 (edited) Try this. Change Redirect URIs to http://your_domain_name.com/modules/gapi/oauth2callback.php This will help. Edited April 12, 2014 by cinnamong (see edit history) 3 Link to comment Share on other sites More sharing options...
Manu42 Posted April 12, 2014 Share Posted April 12, 2014 ge Link to comment Share on other sites More sharing options...
Manu42 Posted April 12, 2014 Share Posted April 12, 2014 Salut depuis -> https://console.developers.google.com -creer un nouveau projet -renseigner bien les zone content screen comme dit plus haut par Damien Metzger -Activer votre Api -Credential créer un nouveau client ID -Rensigner bien et attention dans le tuto les champ Authorized JavaScript origins et Authorized redirect URI sont inversé ! -Copier depuis le nouveau bloc créer le client ID et client SECRET -Copier les chiffre figurant dans l'URL qui succedent la lettre p= comme indiquer depuis le tuto https://www.google.com/analytics/p=00000 ces chifre represente le Profil - On a donc bien nos 3 champs a remplir dans notre module API Google Analytics v3.0 PS :perso pour credential nouveau ID j'ai renseigner le champ Authorized redirect URI par http://your_domain_name.com/modules/gapi/oauth2callback.php mentionné plus haut par cinnamong. j'utilise Link to comment Share on other sites More sharing options...
Squit Posted April 16, 2014 Share Posted April 16, 2014 check the permissions on the folders 1 Link to comment Share on other sites More sharing options...
TomPuja Posted May 7, 2014 Share Posted May 7, 2014 Hi, I still get the following error even after changing the permissions. Also, as you can see my store is located in a /store sub-folder... 400. That’s an error. Error: redirect_uri_mismatch The redirect URI in the request: http://www.arcticcirclenorway.com/store/modules/gapi/oauth2callback.php did not match a registered redirect URI 1 Link to comment Share on other sites More sharing options...
Mister Denial Posted May 7, 2014 Share Posted May 7, 2014 Try this. Change Redirect URIs to http://your_domain_name.com/modules/gapi/oauth2callback.php This will help. Even if you enter that URL in the Google API setup, it will automatically redirect to the www. version of the URL and fail. I tried three times to set up the API like that, it does not work. Link to comment Share on other sites More sharing options...
lopezp Posted May 8, 2014 Share Posted May 8, 2014 (edited) It does not work too for me... is anybody has the real solution? Edited May 8, 2014 by lopezp (see edit history) Link to comment Share on other sites More sharing options...
sadlyblue Posted May 9, 2014 Share Posted May 9, 2014 HI, I also can't setup this module correctly. And i don't know how it will work with multishop. Will i need several links? How can i do this. The tutorial in the module is a little different than the options i get in google analytics page. Thanks Link to comment Share on other sites More sharing options...
lopezp Posted May 9, 2014 Share Posted May 9, 2014 It works for me now so pay attention: to with or without www addresses indicated in the API.It must be identical to those indicated in prestashop backoffice: preferences / SEO 1 Link to comment Share on other sites More sharing options...
PMR SHOP Posted May 9, 2014 Share Posted May 9, 2014 Ok. I had the same issue. I resolved it (for my issue): - on G analytics, click on content screen on the left menu - fill correctly the form - wait 2 minutes and restart to save your parameters on your prestashop configuration clicking on save button enjoy Link to comment Share on other sites More sharing options...
julien_wmx Posted May 28, 2014 Share Posted May 28, 2014 I didn't resolved the problem, I always had the Error 400 I was trying to configure the GA module on Prestashop 1.6 but I've check my Google Analytics dashboard and it works ! :/ Link to comment Share on other sites More sharing options...
Alexgaw Posted June 3, 2014 Share Posted June 3, 2014 HI , I get 2 errors. 1. Google is unreachable (check your firewall) 2. Cannot retrieve test results I have my google analytics working but cannot get the APi to works. I've tried changing the link in ther gapi.php from google.com.to bing.com and works (first error gets fixed) but wont work with google.com. Very strange. Any help? Link to comment Share on other sites More sharing options...
chti56 Posted June 3, 2014 Share Posted June 3, 2014 @Manu42 Bonjour, qu'entendez-vous par "-Activer votre Api" ?? Merci. JP Link to comment Share on other sites More sharing options...
Guest Posted June 5, 2014 Share Posted June 5, 2014 I have the same issue here. any help? Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 6, 2014 Share Posted June 6, 2014 Hi, I had the same issue and I've solved in the following way: 1) I've created a new api project. 2) Go to APIs&auth-> Credentials and click on Create new client id (See img). 3) Application Type: Web Application and add the shop url with and without 'www' (See img) and save all. 4) Go to Consent Screen and insert your data (see img) and save. At this point go on your BO, insert your Client ID, Client Secret and profile number, save and done. Sorry for my english 9 Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2014 Share Posted June 6, 2014 Thanks Tribal! I have tried and I have the following message: Google API Authorization granted Cannot retrieve test results Do you have the same? Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 6, 2014 Share Posted June 6, 2014 Nope... So, try to delete the client id and remake another one. Link to comment Share on other sites More sharing options...
TEMACTbIU Posted June 9, 2014 Share Posted June 9, 2014 I have the same error such as consochris.And I don't see google script in the source of page (PrestaShop 1.6.0.6) I read this topic: http://www.prestashop.com/forums/topic/302611-google-analytics-api/page-3 but it also doesn't work Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 9, 2014 Share Posted June 9, 2014 Are your folder and files permission right? See the attached img... 2 Link to comment Share on other sites More sharing options...
AlexFL Posted June 10, 2014 Share Posted June 10, 2014 Hello Tribal, i follow your instructions and everything worked great except the from the error consochris had too. I checked file permisions and mine are exactly as yours. Link to comment Share on other sites More sharing options...
becoolboy Posted June 15, 2014 Share Posted June 15, 2014 Ok. This took me a while to resolve. You have configure both your google analytics and google analytics API. Google analytics will ask your GA username https://www.google.com/analytics/web/ The rest, you follow TribalDexter's instruction. Configure your consent screen along with the credentials (only for the latest GA interface) This should resolve all issues I belive. Link to comment Share on other sites More sharing options...
websitebuilder Posted June 16, 2014 Share Posted June 16, 2014 I have tried everything above, including matched the file permissions to what Tribal did but mine still shows Google API Authorization granted Cannot retrieve test results Can anyone help? 2 Link to comment Share on other sites More sharing options...
becoolboy Posted June 16, 2014 Share Posted June 16, 2014 Did you set up your google analytics module? The one that asks for your google analytics user name? Your user name should look like something like this, UA123456 Link to comment Share on other sites More sharing options...
Alexgaw Posted June 17, 2014 Share Posted June 17, 2014 Hi, I have problems with this module. I get the error: Google is unreachable (check your firewall). This is the function that cause it: Tools::file_get_contents('https://www.google.com/'). If I remove Tools:: the error is gone. Another way is if I replace the google.com. with bing.com. I get no more error.. I have both cURl and $allow_url_fopen and the host say it has no restriction on google. page. What is the problem? Please help! Cheers, /Alex Link to comment Share on other sites More sharing options...
websitebuilder Posted June 17, 2014 Share Posted June 17, 2014 Thanks Becool Boy. Not sure what you mean. I have used the google analytics api module in prestashop 1.6 where you select to use either version 1.3 or 3.0 of google. I have selected 3.0 and add the client id, client secret and profile as the guide states. Where would I add the user name details? Link to comment Share on other sites More sharing options...
becoolboy Posted June 17, 2014 Share Posted June 17, 2014 Hashtag, this is what you do. Go to modules and search for google analytics. Two modules will come up. One called google analytics and the other one would be called google analytics API. You probably haven't set up your google analytics module, not google analytics API module 2 Link to comment Share on other sites More sharing options...
websitebuilder Posted June 17, 2014 Share Posted June 17, 2014 I don't know why it still isn't working, i have now added my user name to the module you are referencing, but it still says the same thing. So frustrating, have spent over a day on this already. Link to comment Share on other sites More sharing options...
becoolboy Posted June 17, 2014 Share Posted June 17, 2014 Haha. It can quite frustrating. I'm trying to enable gzip in my Apache server. A bit of a pain too. Did you set your priority to 644 as TribalDexter suggested? Link to comment Share on other sites More sharing options...
websitebuilder Posted June 17, 2014 Share Posted June 17, 2014 heap all as it should be but don't seem to have the config - it file as suggested??? very strange Link to comment Share on other sites More sharing options...
becoolboy Posted June 17, 2014 Share Posted June 17, 2014 You sure your gapi is properly installed? Link to comment Share on other sites More sharing options...
julien_wmx Posted June 17, 2014 Share Posted June 17, 2014 Hi, I had the same issue and I've solved in the following way: 1) I've created a new api project. 2) Go to APIs&auth-> Credentials and click on Create new client id (See img). 3) Application Type: Web Application and add the shop url with and without 'www' (See img) and save all. 4) Go to Consent Screen and insert your data (see img) and save. At this point go on your BO, insert your Client ID, Client Secret and profile number, save and done. Sorry for my english It works !! Thanks a lot 1 Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 17, 2014 Share Posted June 17, 2014 De nada julien! heap all as it should be but don't seem to have the config - it file as suggested??? very strange Hi #cv In this case is better turn off the pc and go out!!! So, try it: 1) Disable gapi's module and delete it. 2) With your ftp agent, delete the gapi's folder 3) Reinstall the module and reconfigure it. Link to comment Share on other sites More sharing options...
webcorvo Posted June 20, 2014 Share Posted June 20, 2014 You can find your profile ID in the address bar of your browser while accessing Analytics report. For the OLD VERSION analytics page the ID=xxxxxxxx is the following: https://www.google.com/analytics/reporting/?reset=1&id=XXXXXXXX&pdr=20110702-20110801 For the NEW VERSION analytic page it is the number at the end of the URL starting with p: https://www.google.com/analytics/web/#home/a11345062w43527078pXXXXXXXX/ The message is have is Failed authentication Link to comment Share on other sites More sharing options...
raphaele Posted June 20, 2014 Share Posted June 20, 2014 @Manu42 en allant sur https://console.developers.google.com ça m'a fait créer un nouveau compte, on me parle de frais (!) sur le tableau de bord des 2 comptes, je n'arrive pas à supprimer ce dernier fichu compte... [panique] et je ne parvient toujours pas à remplir la case Profil du module "Api Google Analytics [tourne en rond] Help ! Link to comment Share on other sites More sharing options...
raphaele Posted June 20, 2014 Share Posted June 20, 2014 Bon alors, j'ai réussi à virer le compte qui m'embêtait. J'ai complété les 3 champs. Mais j'ai toujours un souci, dans le tableau de bord, j'ai ça : Dans le module, j'ai ça : Pouvez-vous m'aider s'il vous plaît ? Link to comment Share on other sites More sharing options...
raphaele Posted June 20, 2014 Share Posted June 20, 2014 Dernière question, est-ce que ce service est payant ? Comment éviter les frais ? Merci pour tout ! Link to comment Share on other sites More sharing options...
prestalearn Posted June 23, 2014 Share Posted June 23, 2014 Im still just getting 404 when gapi module tries to load /modules/gapi/oauth2callback.php Someone who has some suggestion for this? Link to comment Share on other sites More sharing options...
becoolboy Posted June 23, 2014 Share Posted June 23, 2014 Your permission should the 644 Link to comment Share on other sites More sharing options...
prestalearn Posted June 23, 2014 Share Posted June 23, 2014 Your permission should the 644 Thanks but I tried both 644 and 755, still says "The requested page doesnt exist anymore" Link to comment Share on other sites More sharing options...
becoolboy Posted June 23, 2014 Share Posted June 23, 2014 I had the same issue until I changed it to 644. Maybe you want clear your smarty cache Link to comment Share on other sites More sharing options...
prestalearn Posted June 23, 2014 Share Posted June 23, 2014 I had the same issue until I changed it to 644. Maybe you want clear your smarty cache Thanks but it didnt work either :/ Link to comment Share on other sites More sharing options...
raphaele Posted June 23, 2014 Share Posted June 23, 2014 Where can I change the permission, please? Link to comment Share on other sites More sharing options...
prestalearn Posted June 23, 2014 Share Posted June 23, 2014 Where can I change the permission, please? Log in to your ftp server and right click on the file / folder and find the option that sounds like permissions or something like that in your ftp client. 1 Link to comment Share on other sites More sharing options...
f_apan Posted June 24, 2014 Share Posted June 24, 2014 for me everything is ok until redirect to google page. when I accept then I am getting this error 403 forbidden Access to this resource on the server is denied!. Myfolder permission is as you described. What causes to this error, Thanks in advance Link to comment Share on other sites More sharing options...
f_apan Posted June 25, 2014 Share Posted June 25, 2014 I fixed error. if the files's permission values 777, it causes this problem files permission must be 644 and folders must be 755 in .../modules/gapi Link to comment Share on other sites More sharing options...
webcorvo Posted June 26, 2014 Share Posted June 26, 2014 I had confg all ok - google-analytics-V3.0 Aut 2.0 message : Google API Authorization granted But i have this message: Cannot retrieve test results 1 Link to comment Share on other sites More sharing options...
webcorvo Posted June 26, 2014 Share Posted June 26, 2014 (edited) Hi, I had the same issue and I've solved in the following way: 1) I've created a new api project. 2) Go to APIs&auth-> Credentials and click on Create new client id (See img). 3) Application Type: Web Application and add the shop url with and without 'www' (See img) and save all. 4) Go to Consent Screen and insert your data (see img) and save. At this point go on your BO, insert your Client ID, Client Secret and profile number, save and done. Sorry for my english I did the same but don't work Have you update the api module? Edited June 26, 2014 by webcorvo (see edit history) Link to comment Share on other sites More sharing options...
prestalearn Posted June 27, 2014 Share Posted June 27, 2014 I have tried the following and still getting "The page is not available" when trying to authenticate: 1. Upgrade module to latest version 2. Change permissions to 644 of the files and 755 on the folder. Im really stuck and think its very strange it doesnt work :/ Link to comment Share on other sites More sharing options...
AndyGerhard Posted July 2, 2014 Share Posted July 2, 2014 i have the same problem 1 Link to comment Share on other sites More sharing options...
comut Posted July 4, 2014 Share Posted July 4, 2014 I had confg all ok - google-analytics-V3.0 Aut 2.0 message : Google API Authorization granted But i have this message: Cannot retrieve test results help pls Link to comment Share on other sites More sharing options...
folkifoon Posted July 20, 2014 Share Posted July 20, 2014 Same problem for me, cannot retrieve test results.In my GA backend i can see visitors so that part works. Link to comment Share on other sites More sharing options...
mstevanic Posted July 21, 2014 Share Posted July 21, 2014 (edited) Same..not work 400. That’s an error. Error: redirect_uri_mismatch Application: xxxxx You can email the developer of this application at: [email protected] The redirect URI in the request: http://www.xxxxx.rs/modules/gapi/oauth2callback.php did not match a registered redirect URI Learn more Request Details That’s all we know. Edited July 21, 2014 by mstevanic (see edit history) Link to comment Share on other sites More sharing options...
folkifoon Posted July 21, 2014 Share Posted July 21, 2014 Mstevanic,Try to also fill in the tab"Consent Screen" its under credentials.After that it does work, but i still dont get results... Link to comment Share on other sites More sharing options...
mstevanic Posted July 21, 2014 Share Posted July 21, 2014 After that I have this: 400. That’s an error. Error: redirect_uri_mismatch Application: https://www.satshop.rs/oauth2callback Link to comment Share on other sites More sharing options...
folkifoon Posted July 21, 2014 Share Posted July 21, 2014 Try to remove https, make it httpAlso, the link should behttp://www.satshop.rs/modules/gapi/oauth2callback.php Link to comment Share on other sites More sharing options...
mstevanic Posted July 21, 2014 Share Posted July 21, 2014 Finally thanx correct link is: http://www.satshop.rs/public_html/modules/modules/gapi/oauth2callback.php but have some error messages now (please see screenshot's) Google API Authorization granted but access token cannot be retrieved and... Cannot retrieve test results Thanx for you're help.. Link to comment Share on other sites More sharing options...
folkifoon Posted July 21, 2014 Share Posted July 21, 2014 The first problem i dont know, the second one i have also...so i hope someone can helps us with that... Link to comment Share on other sites More sharing options...
YouS Systems Posted July 21, 2014 Share Posted July 21, 2014 allow_url_fopen=on in php configuration on host. Link to comment Share on other sites More sharing options...
folkifoon Posted July 22, 2014 Share Posted July 22, 2014 allow_url_fopen=on in php configuration on host. this fixed my problem! Link to comment Share on other sites More sharing options...
mstevanic Posted July 22, 2014 Share Posted July 22, 2014 Where is this line? allow_url_fopen=on in php configuration on host. Thanx Link to comment Share on other sites More sharing options...
folkifoon Posted July 22, 2014 Share Posted July 22, 2014 maybe you can change it in controlpanel of host, otherwise ask your host to change it! Link to comment Share on other sites More sharing options...
mstevanic Posted July 22, 2014 Share Posted July 22, 2014 Alredy contact my host provider..they told me that is on... Link to comment Share on other sites More sharing options...
raphaele Posted July 22, 2014 Share Posted July 22, 2014 Après avoir tourné-viré et beaucoup lu, j'ai la réponse qui va vous plaire, enfin ! Petit rappel des faits : Sur le site Google Analytics : https://www.google.com/analytics/web rubrique "admin" Tout en bas, dans "Paramètres des outils pour les webmasters" J'ai associé l'URL de mon site internet à ma boutique Et enfin, j'ai laissé le champs libre pour "Profile" dans le module de Prestashop Et ça marche ! J'espère faire des heureux... 2 Link to comment Share on other sites More sharing options...
folkifoon Posted July 23, 2014 Share Posted July 23, 2014 It looks like the module does work fine:But in dashboard it shows:How come? Link to comment Share on other sites More sharing options...
mstevanic Posted July 23, 2014 Share Posted July 23, 2014 I'm try everything but still no success.. Link to comment Share on other sites More sharing options...
Damien Metzger Posted July 23, 2014 Share Posted July 23, 2014 Hello, - redirect_uri_mismatch => You have an issue with your configuration on Google API, please check that all the links are OK.- allow_url_fopen set to 1 or curl library activated is definitely needed (for this module, but for a lot of other features in prestashop) - If you have an authorization granted but "cannot retrieve test results" or "no data available", then I can check what's wrong if you send me an FTP access to [email protected]. Regards, Link to comment Share on other sites More sharing options...
mstevanic Posted July 23, 2014 Share Posted July 23, 2014 @Damien please check mailbox.. thanx Link to comment Share on other sites More sharing options...
mstevanic Posted July 23, 2014 Share Posted July 23, 2014 (edited) Problem solved with Damien help... thank you again.. edit: My website URL has been with SSL but not mine.. Edited July 23, 2014 by mstevanic (see edit history) Link to comment Share on other sites More sharing options...
Alexgaw Posted July 23, 2014 Share Posted July 23, 2014 Please share the solutions. I get this error also: Google is unreachable (check your firewall) My host say that both cURL and allow_fopen are on. Thanks /Alex 1 Link to comment Share on other sites More sharing options...
AlexFL Posted July 23, 2014 Share Posted July 23, 2014 (edited) ^ +1 I'm with Alexgaw on this, please share the solution. Edited July 23, 2014 by AlexFL (see edit history) 1 Link to comment Share on other sites More sharing options...
mstevanic Posted July 23, 2014 Share Posted July 23, 2014 Sorry for that mine mistake,I'm edit my post..thanx Link to comment Share on other sites More sharing options...
pkittle Posted July 23, 2014 Share Posted July 23, 2014 HI, I am also having a similar problem - I get: Google API Authorization granted Then: cannot retrieve test results have tried the url settings in php.ini and now stuck! Any help appreciated Link to comment Share on other sites More sharing options...
Julien PARENT Posted July 27, 2014 Share Posted July 27, 2014 Hi, I had the same issue and I've solved in the following way: 1) I've created a new api project. 2) Go to APIs&auth-> Credentials and click on Create new client id (See img). 3) Application Type: Web Application and add the shop url with and without 'www' (See img) and save all. 4) Go to Consent Screen and insert your data (see img) and save. At this point go on your BO, insert your Client ID, Client Secret and profile number, save and done. Sorry for my english Hello Tribal Dexter, Do you find a solution ? Link to comment Share on other sites More sharing options...
Giordx Posted July 29, 2014 Share Posted July 29, 2014 Après avoir tourné-viré et beaucoup lu, j'ai la réponse qui va vous plaire, enfin ! Petit rappel des faits : Sur le site Google Analytics : https://www.google.com/analytics/web rubrique "admin" admin.jpg Tout en bas, dans "Paramètres des outils pour les webmasters" parametre.jpg J'ai associé l'URL de mon site internet à ma boutique outils.jpg Et enfin, j'ai laissé le champs libre pour "Profile" dans le module de Prestashop profile.jpg Et ça marche ! J'espère faire des heureux... Hi everyone, I did as Raphaele wrote (thanks!!), and the error "Cannot retrieve test results" gone. In fact it was enough to remove ID profile to hide the message. But the data appears in overview (home BO) seems to be wrong: I see 4 visitors online in last 15 minutes but on analytics panel I see 0. Also the visits e unique visitors seems unreal compared to the data I read on analytics. someone has same issues? 2 Link to comment Share on other sites More sharing options...
Antakarana Posted August 19, 2014 Share Posted August 19, 2014 In my case I didnt manage to achieve the first step... always getting 400 Error: redirect_uri_mismatch tried all the things mentioned, deleting client id and making a new one, trying using url with/wihout "www" also with/without "SSL", tried filling all except the profile field... It is a bit fustrating... Anyway, I hope to get it someday... and that it worth it Link to comment Share on other sites More sharing options...
vegaskev Posted August 20, 2014 Share Posted August 20, 2014 I have double and triple checked everything. No matter what I do I still have Google API Authorization granted Cannot retrieve test results What could I have scoured this thread and others, I have both the google analytics api module configured as well as the ganalytics module configured, yet I'm still getting the same issue. Doublechecked permissions, config settings on both modules, google analytics config settings and still the issue persists. I'm so shocked that using these two modules seems to be the recommended means to link google analytics to a prestashop site, yet so many people seem to be having the same issues with it. What can we do to overcome/resolve this issue? Any guidance/direction/resolution would be greatly appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
peranders Posted August 23, 2014 Share Posted August 23, 2014 (edited) I'm trying to find the API data at Google? Where to find it? Client ID Client Secret Profile EDIT: Found it! Edited August 23, 2014 by peranders (see edit history) Link to comment Share on other sites More sharing options...
ilsonfuzinatto Posted August 23, 2014 Share Posted August 23, 2014 Eu tentei tudo acima, inclusive acompanhado as permissões do arquivo para o Tribal fiz, mas a minha ainda mostra A autorização concedida API Google Não é possível recuperar os resultados dos testes Alguém pode ajudar? Deixa o campo PERFIL em Branco. Link to comment Share on other sites More sharing options...
ugokind Posted August 26, 2014 Share Posted August 26, 2014 (edited) (I have a property consent setup, id, profile etc.. ) checked files and folder permissions.. tested with or without SSL with or without URL friendly checked in 1.606, 1.608 and 1.609 cand all above in combination with GAPI module 1.00. . 1.01.. 1.02) and cannot retrieve test results edit: IT RUN it's the 1st time! now i'm 1.6.0.6, gapi 1.02, no SSL, no URL Friendly. next step will be update all modules.. then upgrade prestashop.. then enable SSL and SEF I'll catch this post to ask you all if prestashop gapi 3.0 method fits Universal Analytics as well as described here https://developers.google.com/analytics/devguides/collection/upgrade/guide because in that page the web developer have to replace code.. but it's not our case! Edited August 26, 2014 by ugokind (see edit history) Link to comment Share on other sites More sharing options...
pkittle Posted August 26, 2014 Share Posted August 26, 2014 I have same issue. Been around in circles. Given super permissions all over my shop and still same. Cannot retrieve results. At my whits end. Please anybody help me. Even removed all config from google and started again!! Link to comment Share on other sites More sharing options...
ugokind Posted August 27, 2014 Share Posted August 27, 2014 I confirm after my success I moved to lates 1.6.0.9.. cannot retrieve data so I'm absolutely sure this is a problem of latest prestashop my suggest: restore 1.6.0.6 (if you can) Link to comment Share on other sites More sharing options...
tjtang Posted September 3, 2014 Share Posted September 3, 2014 If anyone is getting "no application name" and "invalid_client" error messages then you need to set up your consent screen. Under "APIs & auth" go to "Consent screen" and fill it up. Link to comment Share on other sites More sharing options...
IronBackbone Posted September 3, 2014 Share Posted September 3, 2014 I have double and triple checked everything. No matter what I do I still have Google API Authorization granted Cannot retrieve test results What could I have scoured this thread and others, I have both the google analytics api module configured as well as the ganalytics module configured, yet I'm still getting the same issue. Doublechecked permissions, config settings on both modules, google analytics config settings and still the issue persists. I'm so shocked that using these two modules seems to be the recommended means to link google analytics to a prestashop site, yet so many people seem to be having the same issues with it. What can we do to overcome/resolve this issue? Any guidance/direction/resolution would be greatly appreciated. Thanks in advance. Maybe you can try my solution, it's work with My Shop PS 1.6.0.9 and GOOGLE ANALYTICS API V3.0 In My Google Analytics Api Configuration ID Client : MyIdClient.apps.googleusercontent.com Client Secret : MyClientSecret Profile : XXXXXXXX --> 8 Digits in Google Analytics --> Admin --> Views Setting Screenshots: 1 Link to comment Share on other sites More sharing options...
Giordx Posted September 4, 2014 Share Posted September 4, 2014 Maybe you can try my solution, it's work with My Shop PS 1.6.0.9 and GOOGLE ANALYTICS API V3.0 In My Google Analytics Api Configuration ID Client : MyIdClient.apps.googleusercontent.com Client Secret : MyClientSecret Profile : XXXXXXXX --> 8 Digits in Google Analytics --> Admin --> Views Setting Screenshots: profile google analytics module.png IronBackbone the profile ID you found is the same you can see in Analytics URL, as specified in the guide. so the result is the same, Cannot retrieve test results for me in 1.6.0.8 Link to comment Share on other sites More sharing options...
ghostfr Posted September 4, 2014 Share Posted September 4, 2014 it's the 1st time! now i'm 1.6.0.6, gapi 1.02, no SSL, no URL Friendly. next step will be update all modules.. then upgrade prestashop.. then enable SSL and SEF I'll catch this post to ask you all if prestashop gapi 3.0 method fits Universal Analytics as well as described here https://developers.google.com/analytics/devguides/collection/upgrade/guide because in that page the web developer have to replace code.. but it's not our case! HELLO what is GAPI? Link to comment Share on other sites More sharing options...
ghostfr Posted September 4, 2014 Share Posted September 4, 2014 HELLO what is GAPI? solved its Google analytics in my presto modules folder Link to comment Share on other sites More sharing options...
Recommended Posts