Problem with Google Analytics Import

Hello!

I have installed and configured the Google Analytics Import widget. When trying a GA4 import, I am getting the following error message:

ERROR [2022-12-06 17:18:13] 23383  Uncaught exception: /httpdocs/matomo/plugins/GoogleAnalyticsImporter/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(211): cURL error 77:  (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://oauth2.googleapis.com/token [Query: , CLI mode: 1]


                                                                                                                    
  [GuzzleHttp\Exception\RequestException]                                                                           
  cURL error 77:  (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://oauth2.googleapis.com/token  
                                                                                                                    


googleanalyticsimporter:import-ga4-reports [--property="..."] [--dates="..."] [--idsite="..."] [--cvar-count="..."] [--skip-archiving] [--mobile-app] [--timezone="..."] [--extra-custom-dimension="..."]

Looking up the error code, it seems to be related to a problem in the SSL certificate path - but why? Any idea?

Cheers Peter

Did some research in the meanwhile - looks like the problem is related to the problem in the Plesk Change-Root environment. curl is not able to access the CA and therefore not able to verify the certificate path. Asked my provider to fix it.

2 Likes

Problem is solved after the update initiated by my provider

Hi,
Alsa here,
Facing Google analytics problem let me explain my site console update daily it get 50 clicks per day but analytics show 0 traffic on https://perfectclimbing.com/guide-for-beginners/ i put code in apperance theme editor file.
Tell me solution of this.
Thanks.