Call gtag on button click

Hi guys,

Firstly - thanks for making such a fantastic product in Bricks Builder.

I’m looking to integrate my website with Google Ads, and I need to add an on click event snippet to track conversions.

I’ve added event snippet to the header on the applicable page, but I also need to call “gtag_report_conversion” (according to Google’s article) when a button is clicked.

I understand this is probably done by editing the button and going to Attributes, and then naming it “onclick” - however I am unsure what to do from here (assuming this is correct).

Any advice would be greatly appreciated.

Thank you,