Use data attribute to store tag value