public function getUrlTrackGoal($idGoal, $revenue = 0.0)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&idgoal=' . $idGoal;
        if (!empty($revenue)) {
            $revenue = $this->forceDotAsSeparatorForDecimalPoint($revenue);
            $url .= '&revenue=' . $revenue;
        }

        return $url;
    }
public function getUrlTrackGoal($idGoal, $revenue = 0.0)
    {
        $url = $this->getRequest($this->idSite);
        $url .= '&idgoal=' . $idGoal;
        if (!empty($revenue)) {
            $revenue = $this->forceDotAsSeparatorForDecimalPoint($revenue);
            $url .= '&revenue=' . $revenue;
        }

        return $url;
    }
public function getUrlTrackGoal ( $ idGoal , $ revenue = 0.0 ) { $ url = $ this -> getRequest ( $ this -> idSite ) ; $ url .= '&idgoal=' . $ idGoal ; if ( ! empty ( $ revenue ) ) { $ revenue = $ this -> forceDotAsSeparatorForDecimalPoint ( $ revenue ) ; $ url .= '&revenue=' . $ revenue ; } return $ url ; }
Builds URL to track a goal with idGoal and revenue.

@see doTrackGoal()
@param int $idGoal Id Goal to record a conversion
@param float $revenue Revenue for this conversion
@return string URL to piwik.php with all parameters set to track the goal conversion
Builds URL to track a goal with idGoal and revenue .