Streaming live at 10am (PST)

Google Ads script breaks contact form

When I apply the google Ads conversion tracking tag to my contact form ID the contact form stops submitting emails. Instead, when you select submit it jumps to the top of the page as is clicking an empty button.

Here is my code (I have added instead of website as to not make it public. Custom code is also currently commented out on the main site, but can be uncommented in the footer custom code text input:

    function gtag_report_conversion(url){
        var callback = function () {
            if (typeof(url) != 'undefined') {
                window.location = url;
        gtag('event', 'conversion', {
                'send_to': 'AW-612230034/2ZaVCOvb_twBEJLH96MC',
                'event_callback': callback
        return false;

document.getElementById("formwrapper").onsubmit = function(){

Here is my site Read-Only: [LINK][1]
([how to share your site Read-Only link][2])

Anyone got any ideas on this one?

Change gtag_report_conversion(“”); to gtag_report_conversion();

Remove the URL and you’ll be just fine…