From: Radek Czajka Date: Mon, 22 Mar 2021 13:04:51 +0000 (+0100) Subject: Analytics fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e9d1805ad0090ab709442567d03b62b50cfcbd6f?ds=sidebyside Analytics fix. --- diff --git a/src/club/static/club/form.js b/src/club/static/club/form.js index 5e09ce435..f590fdf96 100644 --- a/src/club/static/club/form.js +++ b/src/club/static/club/form.js @@ -19,6 +19,6 @@ $(function() { $("#payment-form").submit(function() { - _paq.push(['trackGoal', 12, $("#id_amount").val()]); + _paq.push(['trackGoal', 12, parseFloat($("#id_amount").val())]); }); });