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