Commit 7b7b6b2365abbb48e172174d134695071f951f8e
1 parent
674e07c4
-Some tests
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
frontend/web/js/events.js
@@ -9,7 +9,8 @@ $(function() { | @@ -9,7 +9,8 @@ $(function() { | ||
9 | 9 | ||
10 | $('.section-forms #contact-form') | 10 | $('.section-forms #contact-form') |
11 | .on('submit', function() { | 11 | .on('submit', function() { |
12 | - dataLayer.push({'event': 'formsend_send'}); | 12 | + window.dataLayer.push({'event': 'formsend_send'}); |
13 | + console.log('callback pushed'); | ||
13 | }); | 14 | }); |
14 | 15 | ||
15 | $(document) | 16 | $(document) |