public function addPromoCampaignParametersToUrl($url, $campaignName, $campaignMedium, $campaignContent = '')
    {
        if (empty($url)) {
            return '';
        }

        if (strpos($url, '?') === false) {
            $url .= '?';
        } else {
            $url .= '&';
        }

        $url .= $this->getCampaignParametersForPromoUrl($campaignName, $campaignMedium, $campaignContent);

        return $url;
    }
public function addPromoCampaignParametersToUrl($url, $campaignName, $campaignMedium, $campaignContent = '')
    {
        if (empty($url)) {
            return '';
        }

        if (strpos($url, '?') === false) {
            $url .= '?';
        } else {
            $url .= '&';
        }

        $url .= $this->getCampaignParametersForPromoUrl($campaignName, $campaignMedium, $campaignContent);

        return $url;
    }
public function addPromoCampaignParametersToUrl ( $ url , $ campaignName , $ campaignMedium , $ campaignContent = '' ) { if ( empty ( $ url ) ) { return '' ; } if ( strpos ( $ url , '?' ) === false ) { $ url .= '?' ; } else { $ url .= '&' ; } $ url .= $ this -> getCampaignParametersForPromoUrl ( $ campaignName , $ campaignMedium , $ campaignContent ) ; return $ url ; }
Appends campaign parameters to the given URL for promoting any Professional Support for Piwik service.

@param string $url
@param string $campaignName
@param string $campaignMedium
@param string $campaignContent
@return string
Appends campaign parameters to the given URL for promoting any Professional Support for Piwik service .