Retrieve tracking ID from settings

def get_ga_tracking_id(self):
        """
        Retrieve tracking ID from settings
        """
        if hasattr(settings, self.ga_tracking_id_settings_key):
            return getattr(settings, self.ga_tracking_id_settings_key)
        return super(GARequestErrorReportingMixin, self).get_ga_tracking_id()