private function getCampaignParametersForPromoUrl($campaignName, $campaignMedium, $campaignContent = '')
    {
        $campaignName = sprintf('pk_campaign=%s&pk_medium=%s&pk_source=Piwik_App', $campaignName, $campaignMedium);

        if (!empty($campaignContent)) {
            $campaignName .= '&pk_content=' . $campaignContent;
        }

        return $campaignName;
    }
private function getCampaignParametersForPromoUrl($campaignName, $campaignMedium, $campaignContent = '')
    {
        $campaignName = sprintf('pk_campaign=%s&pk_medium=%s&pk_source=Piwik_App', $campaignName, $campaignMedium);

        if (!empty($campaignContent)) {
            $campaignName .= '&pk_content=' . $campaignContent;
        }

        return $campaignName;
    }
private function getCampaignParametersForPromoUrl ( $ campaignName , $ campaignMedium , $ campaignContent = '' ) { $ campaignName = sprintf ( 'pk_campaign=%s&pk_medium=%s&pk_source=Piwik_App' , $ campaignName , $ campaignMedium ) ; if ( ! empty ( $ campaignContent ) ) { $ campaignName .= '&pk_content=' . $ campaignContent ; } return $ campaignName ; }
Generates campaign URL parameters that can be used with promoting Professional Support service.

@param string $campaignName
@param string $campaignMedium
@param string $campaignContent Optional
@return string URL parameters without a leading ? or &
Generates campaign URL parameters that can be used with promoting Professional Support service .