in src/apache-unomi-tracker.js [1420:1429]
_resolveId: function (id) {
if (wem.digitalData.sourceLocalIdentifierMap) {
var source = Object.keys(wem.digitalData.sourceLocalIdentifierMap).filter(function (source) {
return id.indexOf(source) > 0;
});
// @ts-expect-error This code is broken, source is an array
return source ? id.replace(source, wem.digitalData.sourceLocalIdentifierMap[source]) : id;
}
return id;
},