How do I assign an ID to a button?

Hi,

I would like to assign an ID to a button, but I am clueless how should I do it. Anyone could assist?

Thank you!

Mark

Hi WinterMark,

It should not be difficult at all. But first we need to identify the place of the button in your code. Could you please share your store url and explain to us where the button is located?

Hi Laura, is that something you can add in the json file for example in the index.json file?

URL: sartoriale.com
Theme: Prestige

I want to put an ID on my “Subscribe” buttons, making it possible to bind google tags on them and measure their traffic.
(subscription to newsletter)