private function setAnalyticsCheckboxData(FrontendTemplate $template, array $data)
    {
        $template->analyticsCheckbox = null;

        if ($data['cookiebar_analyticsCheckbox']) {
            $template->analyticsCheckbox = [
                'label' => $data['cookiebar_analyticsLabel'] ?: $GLOBALS['TL_LANG']['MSC']['cookiebar.analytics'],
            ];
        }
    }
private function setAnalyticsCheckboxData(FrontendTemplate $template, array $data)
    {
        $template->analyticsCheckbox = null;

        if ($data['cookiebar_analyticsCheckbox']) {
            $template->analyticsCheckbox = [
                'label' => $data['cookiebar_analyticsLabel'] ?: $GLOBALS['TL_LANG']['MSC']['cookiebar.analytics'],
            ];
        }
    }
private function setAnalyticsCheckboxData ( FrontendTemplate $ template , array $ data ) { $ template -> analyticsCheckbox = null ; if ( $ data [ 'cookiebar_analyticsCheckbox' ] ) { $ template -> analyticsCheckbox = [ 'label' => $ data [ 'cookiebar_analyticsLabel' ] ? : $ GLOBALS [ 'TL_LANG' ] [ 'MSC' ] [ 'cookiebar.analytics' ] , ] ; } }
Set the "analytics" checkbox data.

@param FrontendTemplate $template
@param array            $data
Set the analytics checkbox data .