FYSA— have opened up a dev branch for this issue: https://github.com/apache/incubator-flagon-useralejs/tree/doc-logging-wip
> On Aug 29, 2022, at 9:41 PM, Joshua Poore <poor...@apache.org> wrote: > > Hi All, > > Great thread and proposal on GitHub from some users. Looking for community > thoughts. Thread: > > https://github.com/apache/incubator-flagon-useralejs/issues/266 > > Jist: > > There is interest in configuring a user-facing config (via options api) to > automatically log the .dataset property of HTML elements. > > Multiple users have been doing something similar through the custom log API > for similar document properties (HTML, SVG — see thread above). > > I really like this proposal and I think we can start developing this for > .dataset first with support for other doc types (SVG) down the line. > > Development: > > 1. need to configure additional param through getInitialSettings that is > available through options. Could be configured to take boolean to start (if > true, get .dataset property of doc. > > 2. need to add field in UserALE.js dataschema to accommodate new meta data > > 3. add .dataset property to packageLogs on relevant target. Maybe a check as > to whether a given target has a .dataset property > > Thoughts? > > Josh