Support » Plugin: Toplytics » Not retrieving the list of GA profiles

  • Resolved bapman


    Hello !

    I try to use this plugin but after completing the setup steps, I still cannot choose a GA user profile. I get the error: “… there are no profiles to select for this account…”. But there are profiles (views) in my GA account (not created by me but I see them).

    Compared to the setup guide on, I have two differences:

    I installed the plugin on my dev site ( whereas the analytics should come from the prod website (
    I tried both sites as Authorized JavaScript origins
    The Authorized redirect URI is made with dev site URL.
    I wanted to install it on the prod site to see if it can connect but the PHP version is too old (I am not responsible for the server configuration).

    The setup process on G API has changed compared to Presslabs’ guide: for the OAuth consent screen, you are now required to select the scope of the app. I tried with only “View and manage your Google Analytics data” but also with selecting all scopes from /auth/analytics but nothing worked.

    I activated debug log on my site but saw nothing…

    Any help here please 🙂 ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Presslabs



    We will investigate this issue, and we’ll come back to you when we have more information.


    Plugin Author Presslabs


    Hi @bapman,

    I was not able to reproduce the issue, but perhaps this has something to do with permissions after all as the profile selection goes all the way up to Accounts using the Google API

    As I see we can debug this in 2 ways:

    1. E-mail us at and I’ll give you access to a test site so you can login using your Google account so we can debug it there on a clean WordPress install.

    or option 2. I can try and debug this on your end if you can e-mail us a link using the Temporary Login plugin

    IMPORTANT: DO NOT POST any temporary admin login links here. Only send them via e-mail to

    Thread Starter bapman



    Thanks a lot for the answer.

    The prod site was migrated to PHP 7.4 so I will try to install your plugin directly on it (not right now because I lost the rights to install a plugin after migration…).

    If I still face the issue I will email you as you kindly suggested.

    Plugin Author Presslabs


    Thank you @bapman for reporting this and allowing me to debug it further.

    The fix is now in production and updating the plugin should fix it.

    Thread Starter bapman


    Perfect! Thanks a lot for this amazing support!

    And I was able to print the top 6 from the production site on my dev site, thanks to your documentation (Local Post Discovery).

    Great plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not retrieving the list of GA profiles’ is closed to new replies.