Avada Forums Community Forum How to add “onclick” event to fusion-button Reply To: How to add “onclick” event to fusion-button

TPAKTOPA
Participant
Post count: 2

Hi,
I have a question,
I need to insert conversion tracking tag on the contact form.
I do understand that I have to add onclick attribute (onclick=”return gtag_report_conversion(‘http://example.com/your-link’);) to the Button Additional Attributes, in the submit button, however, as the submitt button does not have an actual link, on click, what link should I use? Contact form is displayed in multiple pages and on submission the user remain in the page they are.
I would very much appreciate your assistance on this.