MainWP Community

Can't connect with Google Analytics (403)

Hi, I setup the Analytics API exactly like you’re tutorial mentions. Now when I try to connect I get this message:

Fout 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer ([email protected]).
Meer informatie
Details van verzoek
access_type=offline
response_type=code
redirect_uri=https://MYDOMAIN/wp-admin/admin.php?page=Extensions-Mainwp-Google-Analytics-Extension&mainwp_ga=1
prompt=consent
client_id=104285491142-249n955o20r8abqtsvljf8lddrv4co01.apps.googleusercontent.com
scope=https://www.googleapis.com/auth/analytics.readonly
‪Nederlands‬
HelpPrivacyVoorwaarden

The things I am unsure of are these:

  1. what is an ‘account name’ exactly? I have no clue here. Just typed my e-mailadres which I use with Google.

  2. in the steps on making the Google API I needed to add a domain. I used my own domain because mainWP is on a subdomain from it. Is this the right thing?

Any help would be great!

Thanks in advance

Martin

Hi Martin,

  1. For the Account Name you can enter anything, it’s just your internal use.
  2. If you are referring to the Authorized Domains, yes, you can add your domain, not subdomain.

Please review your settings again and see how it goes.

I have this issue as well. I’ve redone the settings several times with no luck.

Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer.
Learn more
Request Details
access_type=offline
response_type=code
redirect_uri=https://MYDOMAIN.com/wp-admin/admin.php?page=Extensions-Mainwp-Google-Analytics-Extension&mainwp_ga=1
prompt=consent
client_id=0031079286264331-vr66cv4jnc2j89m9sb5h1dmcd91a7get.apps.googleusercontent.com
scope=https://www.googleapis.com/auth/analytics.readonly

Can you please verify that you have published the app in Consent Screen settings?