Skip to content

Commit

Permalink
Fix another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin-gov committed Sep 11, 2018
1 parent 643a3b8 commit e673598
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ formConfig = {
// https://developers.google.com/analytics/devguides/collection/analyticsjs/
recordEvent: data => {
// Don't log if GA is not (yet) loaded or if this is a form success/pending
if (!window.dataLayer || /^form-submit-(successful|pending)$/).test(data.event)) {
if (!window.dataLayer || /^form-submit-(successful|pending)$/.test(data.event)) {
return;
}
return window.dataLayer.push(data);
Expand Down

0 comments on commit e673598

Please sign in to comment.