% intercom_app_id = Cartodb.get_config(:intercom, 'app_id') if intercom_app_id.present? && current_user && (current_user.has_feature_flag?('intercom')) %> <% end %>