Google Analytics Add-On v6 Cannot Sign In with Google

I initially had the Google Analytics v5 installed using the json method to connect a few sites. It was a pain to deal with so I had deactivated the plugin for the past year or so.

With MainWP v6 the add-on became easier to use with the Sign In With Google option. Unfortunately when I click the button it spins for a second or so and I then get the error message “Site secret not found.”. I have not connected an account yet but I get this message.

I have no accounts listed under Manage Accounts. How do I fix this problem?

Hey @eSIlverStrike

That error message can show if the function getmypid is disabled on the MainWP Dashboard site.

You can verify that with the hosting support.

If it is, please ask them to enable it on your site. Almost all hosts are happy to do it.

If, unfortunately, they cannot enable it due to some limitations, then the OAuth method cannot be used on your Dashboard and you will instead need to use the JSON import method.

The function is required by the Google Library we use in the add-on for OAuth.

MainWP System Info shows no functions disabled. I double checked with my host and they said getmypid isn’t disabled either.

I did try deactivating and deleting the plugin and reinstalling it again and that didn’t fix it. I had wondered if there was settings from before causing issues as when I activated the addon again it didn’t show my old json connection but did show a dropdown of the 2 sites I had connected (but no info on their pages)

What else I should try?

Thanks for checking that.

In that case, please open a private Help Desk ticket so we can collect some additional information & investigate further.

Please refer to this Community thread by its URL in the ticket.

Just incase others come across this issue. I had Basic Authentication enabled for the website. Disabling this allowed me to connect the accounts I needed. I then re-enabled Basic Auth.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.