Re: Add an ID to a button

How do I assign an ID to a button?

WinterMark
Tourist
9 0 1

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

Replies 3 (3)

Laura-Hirtop
Shopify Partner
27 5 9

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?

Beregand
Shopify Partner
4 0 2

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

 

WinterMark
Tourist
9 0 1

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)