Support » Plugin: Google Analytics Dashboard » Message in dashboard: Error gathering analytics data from Google: Insufficient q

  • Error gathering analytics data from Google: Insufficient quota to proceed.Error gathering analytics data from Google: Insufficient quota to proceed.Error gathering analytics data from Google: Insufficient quota to proceed.Error gathering analytics data from Google: Insufficient quota to proceed.Error gathering analytics data from Google: Insufficient quota to proceed.Could not gather Google Analytics data.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Carson McDonald

    (@carson-mcdonald)

    There is some limit to the number of times the data can be loaded in a day. You may have run into that limit. The plugin caches the data for a few minutes and I could increase that time but I haven’t seen anyone else have this type of problem. I could imagine it happening if you went through a lot of pages of past posts. Did it work at all after you installed it?

    Yes, it did work. I will change the cache’s time because I am using this script to call most popular posts in eju.tv’s sidebar:

    $start_date = date('Y-m-d', (time() - (60 * 60 * 24 * 1)));
    $end_date = date('Y-m-d');
    $showpages = 25;
    $thispage = 1;
    $data = new GADWidgetData();
    if($data->auth_type == 'oauth')
        {
          $ga = new GALib('oauth', NULL, $data->oauth_token, $data->oauth_secret, $data->account_id);
        }
        else
        {
          $ga = new GALib('client', $data->auth_token, NULL, NULL, $data->account_id);
        }
    	$pages = $ga->pages_for_date_period($start_date, $end_date);
    echo "<ul>";
    foreach($pages as $page) {
    	$url = $page['value'];
    	$title = $page['children']['value'];$views2 = $page['children']['name'];
    	$views = $page['children']['children']['ga:pageviews'];
    	$array = array('(not set)');
    	echo '<li><a href="' . $url . '" rel="nofollow">' . $title . ' - ' . $views . '</a></li>';
    	$thispage++;
    }}
    	if($thispage > $showpages) break;
    }
    echo "</ul>";

    Please, advise me what to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Message in dashboard: Error gathering analytics data from Google: Insufficient q’ is closed to new replies.