X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..9a0ea819fa5bfd8bce2e2500fbfc0cfcc75eff08:/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")]); });