Experiments page.
[wolnelektury.git] / src / wolnelektury / templates / piwik / tracking_code.html
index b70225e..2dd3f11 100644 (file)
@@ -2,7 +2,7 @@
 <script type="text/javascript">
   var _paq = window._paq || [];
   {% for slug, experiment in request.EXPERIMENTS.items %}
-    _paq.push(['setCustomVariable', '{{ forloop.counter }}', "{{ slug }}", "{{ experiment.value|yesno:"on,off," }}", "visit"]);
+    _paq.push(['setCustomVariable', '{{ forloop.counter }}', "{{ slug }}", "{{ experiment.value|yesno:"on,off," }}{{ experiment.manual|yesno:"-manual,," }}", "visit"]);
   {% endfor %}
   _paq.push(['trackPageView']);
   _paq.push(['enableLinkTracking']);