From e9d1805ad0090ab709442567d03b62b50cfcbd6f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 22 Mar 2021 14:04:51 +0100 Subject: [PATCH 1/1] Analytics fix. --- src/club/static/club/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())]); }); }); -- 2.20.1