Site logo

Archived topic

How to set an onclick action on a specificGenerateBlock button

2 replies · Started by Chris on October 28, 2021

Viewing posts 1–3 of 3

Hi,

I want to manually assign a javascript action onClick (in connection with google ads : gtag_report_conversion ('https://example/slug/'); ) to some buttons on some pages.

How can I do this the easiest way?

Thank you for your development quality and your help

Hi Chris,

The easiest way would be to create the button using custom HTML instead of GB as it's not meant for this.

Hope this helps.

too bad, it was a great feature in backery :(

This archived topic is closed to new replies.