Removing govuk js

This commit is contained in:
alexjanousekGSA
2025-08-06 17:19:15 -04:00
parent 9d7b2b9076
commit 3a230f15b6
19 changed files with 78 additions and 114 deletions

View File

@@ -1,13 +1,13 @@
(function(window) {
"use strict";
window.GOVUK.Modules.TrackError = function() {
window.NotifyModules.TrackError = function() {
this.start = function(component) {
if (!('analytics' in window.GOVUK)) return;
window.GOVUK.analytics.trackEvent(
// Analytics tracking removed - no longer using GOVUK analytics
// If analytics is needed, integrate with USWDS analytics or custom solution
console.log(
'Error',
$(component).data('error-type'),
{