Google Analytics Extension Not Connecting

I am having alot of trouble connecting GA to the MWP dash. All credentials have been set up correctly via Google Cloud Console and have been published, but they are not connecting with the dash.

Any solutions on this? Thanks!

Hey @anth

Welcome to the MainWP community!

Please check out our help documentation for Google Analytics at this page: Google Analytics - MainWP Documentation

Especially the articles for Extension Configuration and creating Google Client ID and Client Secret.

If you would still be facing issues, please provide us with more details at exactly which step you are facing issues, and attach screenshots if possible.

Hi Bojan,

I have checked the documentation but unfortunately, even though I have followed all the steps down to the word, the connection still does not work.

It fails right at the last step when inputting the client ID, secret, and project ID. The details are correct but it does not work.

Thanks for the update.

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Here is the community report


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
WordPress Version                  >=3.6                                                  6.1.1                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1d                               Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.29.0                                               7.71.0                                       Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES ( V8.0.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, readline, session, shmop, sockets, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           30                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Version                        >=7.0                                                  8.0.15                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.3.32-MariaDB-log-cll-lve                  Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              ON                                                     
Memory Usage                       5.49 MB                                                
Operating System                   Linux                                                  
Request Time                       1674853525                                             
Server Protocol                    HTTP/2.0                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
Cache control enabled              No                                                     
MainWP Dashboard Version           Latest: 4.3.1 | Detected: 4.3.1 Pass                   
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              7                                                      
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   No                                                     
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Advanced Uptime Monitor Extension  5.2.2                                                  Actived                                      Pass        
MainWP Custom Dashboard Extension  4.1.2                                                  Actived                                      Pass        
MainWP Google Analytics Extension  4.0.5                                                  Actived                                      Pass        
MainWP Lighthouse Extension        4.0.2                                                  Actived                                      Pass        
MainWP Pro Reports Extension       4.0.13                                                 Actived                                      Pass        
MainWP Rocket Extension            4.0.5                                                  Actived                                      Pass        
MainWP White Label Extension       4.1.3                                                  Actived                                      Pass        
MainWP Wordfence Extension         4.0.9                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

Limit Login Attempts Reloaded      2.25.11                                                Active                                       
MainWP Dashboard                   4.3.1                                                  Active