src/API/GoogleAPI.php
public function getAnalyticsTrackingID()
    {
        $id = SiteConfig::current_site_config()->GoogleAnalyticsTrackingID;
        
        if (!$id) {
            $id = self::config()->analytics_tracking_id;
        }
        
        return $id;
    }
public function getAnalyticsTrackingID()
    {
        $id = SiteConfig::current_site_config()->GoogleAnalyticsTrackingID;
        
        if (!$id) {
            $id = self::config()->analytics_tracking_id;
        }
        
        return $id;
    }
public function getAnalyticsTrackingID ( ) { $ id = SiteConfig :: current_site_config ( ) -> GoogleAnalyticsTrackingID ; if ( ! $ id ) { $ id = self :: config ( ) -> analytics_tracking_id ; } return $ id ; }
Answers the analytics tracking ID from site or YAML configuration.

@return string
Answers the analytics tracking ID from site or YAML configuration .