Will not update or re-process the conversions already recorded
public updateGoal ( integer $idSite, integer $idGoal, $name, $matchAttribute, string $pattern, string $patternType, boolean $caseSensitive = false, boolean | float $revenue = false, boolean $allowMultipleConversionsPerVisit = false, string $description = '' ) : void | ||
$idSite | integer | |
$idGoal | integer | |
$name | ||
$matchAttribute | ||
$pattern | string | |
$patternType | string | |
$caseSensitive | boolean | |
$revenue | boolean | float | |
$allowMultipleConversionsPerVisit | boolean | |
$description | string | |
return | void |
public function test_updateGoal_shouldUpdateMinimalFields_ShouldLeaveOtherFieldsUntouched() { $idGoal = $this->createAnyGoal(); $this->api->updateGoal($this->idSite, $idGoal, 'UpdatedName', 'file', 'http://www.updatetest.de', 'contains'); $this->assertGoal($idGoal, 'UpdatedName', 'file', 'http://www.updatetest.de', 'contains', 0, 0, 0); }