X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..af339a5c1a69ec22a6f1d5940cde313953948368:/src/wolnelektury/static/js/book_text/settings.js 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")]); });