WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard
Message in dashboard: Error gathering analytics data from Google: Insufficient q (4 posts)

  1. ejutv
    Member
    Posted 2 years ago #

    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.

  2. Carson McDonald
    Member
    Plugin Contributor

    Posted 2 years ago #

    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?

  3. ejutv
    Member
    Posted 2 years ago #

    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>";
  4. ejutv
    Member
    Posted 2 years ago #

    Please, advise me what to do.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic