Thanks for reaching out @firststation, and sorry to hear that some of your sites became disconnected based on what sounds like invalid OAuth access tokens. Good to hear that you’re aware of?OAuth 2.0 and how the plugin uses this protocol?to connect the plugin and your site. Note that the limit for active tokens is now 100, and not 50, with recent changes to accommodate larger numbers.
I had thought that the sites would continue sending data to google even if the token limitation caused them to be disconnected. In this case though, they completely stopped sending data.
You are correct in your assumption here. Site Kit does keep the snippets placed on a users site even if a site becomes “disconnected”, as long as the plugin remains activated. This means that in relation to Analytics, if you were using the plugin to place your Analytics snippet, data will remain recording, it just won’t be available to view within the Site Kit dashboard as the plugin no longer has a valid access token to pull this information from your Analytics account.
Am I missing something? What could’ve caused this? How do we prevent this in the future?
I can’t be sure what may have caused data to stop recording in your case, but hopefully we can determine the cause. Some possibilities include the plugin being deactivated, third party plugins impacting your Site Kit placed snippets, another administrator making modifications to the Site Kit settings or a cookie type plugin results in data not recording until a user consents. If you’d like us to determine more on this, please share your Site Health information for one of these sites that remains disconnected but where you’re finding data is not recording.
Note also that I added a mention on best practices for one user who also manages an agency with 100+ sites. You can find out more on that here. You may also be aware that while not impacting your OAuth limits, you can grant access to the Site Kit dashboard to non administrators using the plugins Dashboard Sharing feature. This may be useful in the event of a client having made changes to your Site Kit configurations in an administrator role.
Let me know if you have any questions with the above. I’ll keep an eye out for your Site Health information. Thank you.