Skip to main content

Interface: PageDataSource

Defined in: types.ts:40

Properties

PropertyTypeDescriptionDefined in
keystringThe 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")types.ts:50
source"meta" | "dataLayer" | "selector" | "attribute"How to read the value from the page.types.ts:42