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