Updated how data attributes are accessed to fix timeline tracking