Files
notifications-admin/app/assets/javascripts/errorTracking.js
alexjanousekGSA 3a230f15b6 Removing govuk js
2025-08-06 17:19:15 -04:00

23 lines
465 B
JavaScript

(function(window) {
"use strict";
window.NotifyModules.TrackError = function() {
this.start = function(component) {
// 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'),
{
'label': $(component).data('error-label')
}
);
};
};
})(window);