Commit cd1e4e626fcec601e6cea612c299afc14cf11605

Authored by Alexey Boroda
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 60 success: function(data) {
61 61 f.reset();
62 62 if (data.type == 'appointment') {
  63 + console.log('appointment submitted');
63 64 dataLayer.push({'event': 'mainFormSub'});
64 65 }
65 66 // form.replaceWith(data.alert)
... ...