Ipunkt\LaravelAnalytics\Data\Renderer\CampaignRenderer::renderName PHP Method

renderName() private method

returns the rendered name
private renderName ( ) : string
return string
    private function renderName()
    {
        $name = $this->campaign->getName();
        return empty($name) ? '' : "ga('set', 'campaignName', '{$name}');";
    }