Interface: PageDataSource
Defined in: types.ts:46
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
key | string | The key used to look up the value. - meta: the name attribute of the tag - dataLayer: the property name inside the JSON - selector: a CSS selector whose textContent is read - attribute: a "selector@attribute" string (e.g. "body@data-publisher") - jsonLd: a dot-path like publisher.name to traverse nested objects, with optional pipe-delimited fallbacks like `headline | name(triesheadlinefirst, falls back toname`) |
source | "meta" | "dataLayer" | "selector" | "attribute" | "jsonLd" | How to read the value from the page. | types.ts:48 |