|
@@ -57,24 +57,26 @@
|
57
|
57
|
|
58
|
58
|
</div>
|
59
|
59
|
|
60
|
|
- {% if app.environment == 'prod' %}
|
61
|
|
- <!-- Piwik -->
|
62
|
|
- <script type="text/javascript">
|
63
|
|
- var _paq = _paq || [];
|
64
|
|
- _paq.push(['trackPageView']);
|
65
|
|
- _paq.push(['enableLinkTracking']);
|
66
|
|
- (function() {
|
67
|
|
- //var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.muzi.ch//"; # pas de certif sur analytics.muzi.ch pour le moment
|
68
|
|
- var u=(("https:" == document.location.protocol) ? "http" : "http") + "://analytics.muzi.ch//";
|
69
|
|
- _paq.push(['setTrackerUrl', u+'piwik.php']);
|
70
|
|
- _paq.push(['setSiteId', 1]);
|
71
|
|
- var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
72
|
|
- g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
73
|
|
- })();
|
74
|
|
-
|
75
|
|
- </script>
|
76
|
|
- <noscript><p><img src="http://analytics.muzi.ch/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
|
77
|
|
- <!-- End Piwik Code -->
|
|
60
|
+ {% if not app.request.secure %}
|
|
61
|
+ {% if app.environment == 'prod' %}
|
|
62
|
+ <!-- Piwik -->
|
|
63
|
+ <script type="text/javascript">
|
|
64
|
+ var _paq = _paq || [];
|
|
65
|
+ _paq.push(['trackPageView']);
|
|
66
|
+ _paq.push(['enableLinkTracking']);
|
|
67
|
+ (function() {
|
|
68
|
+ //var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.muzi.ch//"; # pas de certif sur analytics.muzi.ch pour le moment
|
|
69
|
+ var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.muzi.ch//";
|
|
70
|
+ _paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
71
|
+ _paq.push(['setSiteId', 1]);
|
|
72
|
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
|
73
|
+ g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
74
|
+ })();
|
|
75
|
+
|
|
76
|
+ </script>
|
|
77
|
+ <noscript><p><img src="https://analytics.muzi.ch/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
|
|
78
|
+ <!-- End Piwik Code -->
|
|
79
|
+ {% endif %}
|
78
|
80
|
{% endif %}
|
79
|
81
|
</body>
|
80
|
82
|
</html>
|