open-orchestra/open-orchestra-display-bundle

View on GitHub
DisplayBundle/Resources/views/Block/AudienceAnalysis/xiti_free.html.twig

Summary

Maintainability
Test Coverage
<a href="http://www.xiti.com/xiti.asp?s={{ attributes.site_id }}" title="WebAnalytics" target="_top">
    <script type="text/javascript">
    <!--
        Xt_param = 's={{ attributes.site_id }}&p={{ page }}';
        try {Xt_r = top.document.referrer;}
        catch(e) {Xt_r = document.referrer; }
        Xt_h = new Date();
        Xt_i = '<img width="80" height="15" border="0" alt="" ';
        Xt_i += 'src="http://logv4.xiti.com/g.xiti?'+Xt_param;
        Xt_i += '&hl='+Xt_h.getHours()+'x'+Xt_h.getMinutes()+'x'+Xt_h.getSeconds();
        if(parseFloat(navigator.appVersion)>=4)
            {Xt_s=screen;Xt_i+='&r='+Xt_s.width+'x'+Xt_s.height+'x'+Xt_s.pixelDepth+'x'+Xt_s.colorDepth;}
        document.write(Xt_i+'&ref='+Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$')+'" title="Internet Audience">');
    //-->
    </script>
    <noscript>
        Mesure d'audience ROI statistique webanalytics par <img width="39" height="25" src="http://logv4.xiti.com/g.xiti?s={{ attributes.site_id }}&p={{ page }}" alt="WebAnalytics" />
    </noscript>
</a>