Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug when forms with data-ga4-form-no-answer-undefined are submitted
When data-ga4-form-no-answer-undefined exists, it sets the text to undefined. However straight after that, it was trying to call .toLowerCase(), so the GA4 JS crashes on submit of these search forms.
- Loading branch information