mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 13:18:57 -04:00
23 lines
465 B
JavaScript
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);
|