Example #1
0
 public function init()
 {
     parent::init();
     $credentials = $this->getAnalyticsCredentials();
     if (!$credentials) {
         die("Analytics not configured");
     }
 }
 public function init()
 {
     parent::init();
     $credentials = $this->getWebmastertoolsCredentials();
     if (!$credentials) {
         die("Webmastertools not configured");
     }
 }
 public function init()
 {
     parent::init();
     $client = Pimcore_Google_Api::getServiceClient();
     if (!$client) {
         die("Google Analytics is not configured");
     }
     $this->service = new apiAnalyticsService($client);
 }