Commit cd1e4e626fcec601e6cea612c299afc14cf11605
1 parent
d0b13318
-Form custom event
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
frontend/web/js/modal.js
@@ -60,6 +60,7 @@ $( | @@ -60,6 +60,7 @@ $( | ||
60 | success: function(data) { | 60 | success: function(data) { |
61 | f.reset(); | 61 | f.reset(); |
62 | if (data.type == 'appointment') { | 62 | if (data.type == 'appointment') { |
63 | + console.log('appointment submitted'); | ||
63 | dataLayer.push({'event': 'mainFormSub'}); | 64 | dataLayer.push({'event': 'mainFormSub'}); |
64 | } | 65 | } |
65 | // form.replaceWith(data.alert) | 66 | // form.replaceWith(data.alert) |