Financial-Times / dotcom-page-kit

📰 Page Kit provides a high quality, well tested, and thoroughly documented set of tools for assembling and delivering FT.com based upon the best industry standards.
https://financial-times.github.io/dotcom-page-kit/
21 stars 6 forks source link

Add user status to app context schema #599

Closed i-like-robots closed 5 years ago

i-like-robots commented 5 years ago

In n-ui we surfaced the user status (logged in or anonymous) via a data attribute on the document element.

In Page Kit we removed these data attributes in favour of a defined "app context" (#340) which can be used by ads, tracking, and other client-side code.

However, the schema does not currently include any properties for sharing the user status so we need to define one.

i-like-robots commented 5 years ago

Suggestions for property definitions: