What is the good practice for buttons use (CTA) and to track them effectively

Hi, I’m fairly new to Web Design and CTA tracking.

I first created individuals CTAs for my website, all having different ID and classes… which was very cumbersome to use.

I then created a single button component, that I insert within a new div wherever i want on my website to gain time. THe issue is that it seems hard to track which button has been clicked cause they all share the same ID.

What is the best practice to track singular button and should one use button as components or it is very bad practice ?

Thank you all for the support

1 Like