% if settings.FEATURES.get('STUDIO_NPS_SURVEY'):
    <!-- Qualaroo is used for net promoter score surveys -->
    <script type="text/javascript">
        % if user.is_authenticated():
            var _kiq = _kiq || [];
            _kiq.push(['identify', "${ user.email }" ]);
        % endif
    </script>

    <!-- Qualaroo for edx.org -->
    <script type="text/javascript" src="//s3.amazonaws.com/ki.js/48221/9SN.js" async="true"></script>
    <!-- end Qualaroo -->
% endif
