getBounceRate() public method

Returns the bounce rate in a certain period
public getBounceRate ( integer $startDate, integer $endDate ) : float
$startDate integer
$endDate integer
return float
Beispiel #1
0
 public function testGetBounceRate()
 {
     $connector = new Connector($this->getAnalyticsServiceMock(), new Pool(new MemoryStore()), $this->getModulesSettingsMock());
     $this->assertEquals(23.25, $connector->getBounceRate(strtotime('-1 day', mktime(0, 0, 0)), mktime(0, 0, 0)));
 }