2 <script type="text/javascript">
3 var _paq = window._paq || [];
4 {% for experiment, value in request.EXPERIMENTS.items %}
5 _paq.push(['setCustomVariable', '{{ forloop.counter }}', "{{ experiment }}", "{{ value }}", "visit"]);
7 _paq.push(['trackPageView']);
8 _paq.push(['enableLinkTracking']);
11 _paq.push(['setTrackerUrl', u+'matomo.php']);
12 _paq.push(['setSiteId', '{{ id }}']);
13 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
14 g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
16 </script><noscript><p><img src="{{ url }}matomo.php?idsite={{ id }}&rec=1" style="border:0;" alt="" /></p></noscript>
17 <!-- End Matomo Code -->