I'm currently searching if there's a way of associating goals in to a button without using the Sitecore Forms, is that possible without any additional code?
Currently trying and searching if there's a way to associate goals with a button.
You can associate goals with items and Sitecore Forms, see the most recent documentation here.
If you would like to trigger a goal by clicking on a hyperlink or a button then there is a workaround with a sc_trk URL param.
You simply need to append sc_trk={Goal GUID or Goal Name} to your URL and it will call all the necessary functions to trigger the goal that it refers to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With