@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface TrackerUrlRecord

    Shared types for the substitution observer/encoder surfaces. The shapes match the test-kit contract at compliance/cache/latest/test-kits/substitution-observer-runner.yaml.

    interface TrackerUrlRecord {
        url: URL;
        source_attr: string;
        source_tag: string;
        line_hint: number | null;
    }
    Index

    Properties

    url: URL

    Parsed URL. For HTML-relative URLs, resolved against https://observer.test/.

    source_attr: string

    Attribute the URL was extracted from (href, src, srcset, data-impression-url, ...).

    source_tag: string

    HTML tag the URL was extracted from (a, img, iframe, meta, ...).

    line_hint: number | null

    Best-effort line number in the preview HTML, 1-indexed. null if unknown.