Hello! Does anyone have any general guidance for s...
# support
c
Hello! Does anyone have any general guidance for setting up rudderstack events for a button click on a haml view page?
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Sorry don't know much about HAML but how do you run standard button-click events in HAML?
c
Thanks @shy-kite-21035 I'm not super experienced with it either but it looks to be something like this: = link_to "New Button", new_button_path, class: "btn btn-primary"
Maybe its better to put it in the controller instead, I was just running into some issues that thought I would experiment
m
I am sorry not something I know much about to comment on.