In the "old days" I'd colocate data as HTML attributes:
<div data-parent-id="1234" data-category="Article">
We'd use this data for any number of purposes to build out other little features that'd rely on the attributes.