New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics module setup fails despite full account access: User does not have sufficient permissions for this account #1548
Comments
Also affected by this, full permissions granted |
Same here |
Same problem. I had a different analytics plugin installed first. And actived site kit with the other plugin on. Site kit said i already had a tracking code installed so i removed the plugin and than got this message. I already tried different browsers and computers no luck. |
Adding other topics impacted by this below. Both have full permissions to the account/ property/ view: https://wordpress.org/support/topic/error-user-does-not-have-sufficient-permissions-for-this-account-2/ |
Further confirmation from user in original post that all permissions are granted |
I'm also running into this problem. I have full permissions granted all inherited from a top level account with multiple properties. I've successfully setup other properties under this account over 3 weeks ago. I can't see any visible difference between this latest property and the others. My output using the Query Explorer: https://imgur.com/Qd7Mfig |
this may be a clue, I went to look at some analytics data and it said I needed to link the property to Search console. which then links to
The page did not have all the websites listed that are contained in GSC that exist Another clue: |
@wgicio thanks for the details! Some questions that could be helpful:
-- Was the website (property) that is failing listed? -- When you visit this link while logged into the info@ account, are you also not seeing the full list of properties available in GSC? In particular, do you see the property that is failing listed there and in GSC? -- Could you tell us if the admin@ account is still listed as having full permissions in Analytics to website (property) that is failing? -- Does the info@ account have full permissions in Analytics to the website (property) that is failing? |
so Analytics Account ID164912693 has 6 properties which were transferred from another account.
so admin@ does not exist anymore, in GSuite the primary account was changed to info@ The site that was successfully connected before the email change still showw admin@ as the account being connected. within wordpress sitekit, the data is being displayed as expected |
Tested I was able to reproduce this by following the steps here:
Notice: Transitioning to Execution |
Pulling this one back into Escalations after working with @aaemnnosttv. I noticed my user's permissions on the GA site weren't set properly to edit and collaborate causing a false positive of this issue. Adjusting both user's permissions to match - I no longer see this issue. Sending to L2 |
I was really disappointed to see this issue is still not resolved in the latest release. And given the security issues that were fixed most recently it seems those security fixes were the cause. I can't roll back to an older version to even test since the plugin is blocked. |
@timnolte we haven't been able to consistently reproduce the issue yet. If you have any details that you could share to help resolve this faster, that would be great. |
@aaemnnosttv What specific details would you like? Happy to share what I can as I'm having the same issue on 2 sites (reported it on the WordPress.org forums). I've got the plugin working on ~5 sites, the 2 sites that it is not working on are both Analytics accounts that were transferred from a previous owner. Permissions have been set to exactly the same as the 5 sites that are working. My suggested test use case: Setup an Analytics account. Transfer it to another Analytics account and try connect to Site Kit WP with the new account. |
Hi @MattGeri - thanks for the details! Here's what I've done to try to reproduce your case:
Not sure if I'm missing something here or not but it seems to be working as expected both before and after transferring ownership. |
@aaemnnosttv I have the same situation as @MattGeri however, I can confirm that many accounts that I'm using with SiteKit had also been transferred but some work and some don't. Were there any changes to the permissions required from a Google account during that last security release of the plugin? I'm not sure what more details I could provide. It's possible this could be a plugin conflict of some sort though I don't believe the site I'm having a problem with has much of a different plugin setup than those I do have working. |
Edit: Ignore this, the account details are actually correct it seems. |
Thanks for sharing @MattGeri - this is very helpful. It seems that this problem is specific to properties which have been transferred between accounts. Can you confirm that this is the case for the sites where you're having a problem? |
@aaemnnosttv Actually, scratch my last message, the account details coming through are correct. But overall yes, my issue is only with properties that have been transferred from one account to another. I'll do some more digging by intercepting the request to the Google API and see what I can find. What I know so far is the |
@aaemnnosttv Some additional context on the same reported issue within another WordPress topic. For this user the issue occurred after modifying ownership of the property, with the user providing their change history and additional screenshots. Troubleshoot ongoing. |
@MattGeri thanks for your help. I was able to reproduce this and can see what the problem is now. As for now, you won't be able to complete the set up via the UI unfortunately. In the meantime, I'll see what we can do about a temporary workaround. |
OK, so this was essentially broken a few releases ago, this would explain why the problem seemed to have just started. A large portion of the sites I manage have had GA ownership changes. |
This will be fixed via #1707. |
Tested Ran a series of tests around Analytics setup, switching properties and accounts while logged in as separate users on the same site. Disconnecting and reconnecting. Tried moved properties outlined in #1707 Passed QA ✅ |
When attempting to setup the Analytics module the following notice appears, despite the user having access to that Analytics account.
Error: User does not have sufficient permissions for this account.
The permissions notice does not disappear when selecting another GA account using the dropdown, although connection does proceed.
The typical troubleshoot steps failed to resolve this issue, including the below:
Additional context:
WordPress Support topic: https://wordpress.org/support/topic/error-user-does-not-have-sufficient-permissions-for-this-account/#post-12821941
Site URL: https://www.swisslaos.ch/
Additional support topic:
https://wordpress.org/support/topic/existing-analytics-tag-but-cant-connect
Site Health information:
Error log
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: