X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..7bbeecb5dd5c5f20120f9e40e41568a3bff1caa4:/src/wolnelektury/static/js/book_text/settings.js?ds=inline

diff --git a/src/wolnelektury/static/js/book_text/settings.js b/src/wolnelektury/static/js/book_text/settings.js
index e398ba3ed..96fb6c4cb 100644
--- a/src/wolnelektury/static/js/book_text/settings.js
+++ b/src/wolnelektury/static/js/book_text/settings.js
@@ -6,6 +6,7 @@ $("#menu-settings").show();
 $(".settings-switch").click(function(e) {
     e.preventDefault();
     $("body").toggleClass($(this).attr("data-setting"));
+    _paq.push(['trackEvent', 'html', $(this).attr("data-setting")]);
 });