Add GTAG to 'Form' button
Hi,
Is there a way to add the below code to a 'form' so it tracks how many people submit a contact us form?
<button onclick="return gtag_report_conversion('http://example.com/your-link')">Submit</button>
I've used the embed function to add the code but it just creates a button which is not what I want as I have custom messaging that gets sent when a form is submitted.
0
-
Hi Tom,
Unfortunately one cannot add an onclick attribute to a Brizy form. You will need an HTML form to add the the onclick attribute.
Kindly search for an HTML form at https://codepen.io/ and follow the procedure in this screen recording to add the code to a Brizy page. https://jmp.sh/4KIVxI1f
0
Please sign in to leave a comment.
Comments
1 comment