function testKeywordAnalysisGetWithOptions()
 {
     $statcounter = new LaravelStatcounter(self::CONFIG);
     $url = $statcounter->keywordAnalysis(SearchEngine::NAME(), true)->toUrl();
     $this->assertNotEmpty($url);
     $this->assertEquals($this->formatUrl('https://api.statcounter.com/stats/', '?vn=3&s=keyword_analysis&pi=%3$s&u=%1$s&t=%2$s&eek=1&ck=search_engine_name'), $url);
 }
 /**
  * Start a 'keyword analysis' query.
  *
  * @param SearchEngine $combineKeywords
  * @param boolean $excludeEncryptedKeywords
  * @return \Injic\LaravelStatcounter\LaravelStatcounter|static
  */
 public function keywordAnalysis(SearchEngine $combineKeywords = null, $excludeEncryptedKeywords = false)
 {
     if (is_null($combineKeywords)) {
         $combineKeywords = SearchEngine::HOST();
     }
     $this->initStats('keyword_analysis');
     $this->params['ck'] = $combineKeywords->getValue();
     if ($excludeEncryptedKeywords) {
         $this->params['eek'] = '1';
     }
     return $this;
 }