Minor club fixes.
[wolnelektury.git] / src / club / static / club / form.js
index 6be8220..5e09ce4 100644 (file)
@@ -16,5 +16,9 @@ $(function() {
     }
     update_methods();
     $("#payment-form .plan").change(update_methods);
-    
+
+
+    $("#payment-form").submit(function() {
+        _paq.push(['trackGoal', 12, $("#id_amount").val()]);
+    });
 });