I understand according to the docs on goal tracking the different type of goals you can have, but I am unable to find any type of documentation on what I should be passing the API for matchAttribute, pattern, & patternType as the API reference has no examples available either.
For anyone else that actually might do a forum search in the future:
@param $idSite @param $name @param $matchAttribute ‘url’, ‘file’, ‘external_website’ or ‘manually’ @param $pattern eg. purchase-confirmation.htm @param $patternType ‘regex’, ‘contains’, ‘exact’ @param $caseSensitive bool @param $revenue If set, default revenue to assign to conversions @return int ID of the new goal