Deploying an Additional HTML attribute using code for Adobe Analytics

If you test your project, and then view the source, you should see the data attribute on the element. But, without JavaScript listening for button clicks, how would the Data Attribute work?

What analytics software are you using?