Loading README.md +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ retrieve the page stats and show them as you whish. ```php require_once(GA_PAGE_STATS__PLUGIN_DIR . 'class.ga-page-stats.php'); $r = GAPageStats::getPageStats($_SERVER['REQUEST_URI']); $spv = number_format($r[0]); $su = number_format($r[1]); $pv = number_format($r['pageViews']); $u = number_format($r['users']); ``` At the moment, the plugin retrieves the PageViews (`ga:pageView`) and Users Loading Loading
README.md +2 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,8 @@ retrieve the page stats and show them as you whish. ```php require_once(GA_PAGE_STATS__PLUGIN_DIR . 'class.ga-page-stats.php'); $r = GAPageStats::getPageStats($_SERVER['REQUEST_URI']); $spv = number_format($r[0]); $su = number_format($r[1]); $pv = number_format($r['pageViews']); $u = number_format($r['users']); ``` At the moment, the plugin retrieves the PageViews (`ga:pageView`) and Users Loading