Support » Plugin: Lara's Google Analytics » Need to Reset on Pro Plugin

  • Resolved Jonas Troyer


    Hey guys we are using the Pro version of your plugin at our agency. We have about 400 clients and about 10-15 per month need to be reset up with Google. Every month another 10-15. Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lara Google Analytics – Support


    Hello @jonastroyer,

    This is a limitation imposed by Google :

    Google API currently has a limit of 50 (25 for some accounts) refresh tokens per user account per client. If the limit is reached, creating a new refresh token automatically invalidates the oldest refresh token without warning.

    So for example, If you have authorized the widget on 50 sites, then tried to authorize it on another site, the first site will start receiving “[invalid_grant] Bad Request”.

    Possible ways to manage more accounts :

    – Use multiple Google accounts, with each handling 50 sites or less.

    – Since the limit is per user account per client, the advanced setup may help, as with it you will be able to create a new google app (client). Each client can handle 50 active tokens from one Google account, so you will need to create multiple google apps (clients), and each should handle 50 tokens.

    I hope it is clear now.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.