how do I measure clicking on the "buy now" button only
I am trying to measure the number of clicks on my buy now button on the page. Is there a way that I can do this easily?
@MartijnSch is exactly right. Have you checked out our Support article on setting up click goals? https://help.optimizely.com/hc/en-us/articles/200039905-Click-goals
You can also just load your page URL where the buttons appear into the goal modal and then just select the "buy now" button and Optimizely will automatically create the selector. The only tricky thing here is figuring out if this buy now button also appears in other locations and if you want to track clicks on those buttons as well. This can be easily accomplished by using a common selector like Martijn mentioned or by setting the goal targeting settings.
If you can provide some more detail, we can certainly help provide specific instructions.