public function getAnalyticsTrackingID()
    {
        $id = SiteConfig::current_site_config()->GoogleAnalyticsTrackingID;
        
        if (!$id) {
            $id = self::config()->analytics_tracking_id;
        }
        
        return $id;
    }