Home > widget-integration > FilterService > readStoredRequestIds
FilterService.readStoredRequestIds() method
Reads previously stored request IDs, tolerating a corrupted entry.
Storage can hold malformed JSON after a truncated write or a clash with another script. Analytics attribution is not worth failing the filter pipeline for, so an unreadable entry is discarded and rebuilt from scratch.
Signature:
protected readStoredRequestIds(): Record<string, string>;
Returns:
Record<string, string>
The stored request ID map, or an empty map when absent or unreadable