<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div id='recaptcha' class="g-recaptcha"
     data-sitekey="{$googlekey}"
     data-callback="gSubmit"
     data-size="invisible"></div>
<button id="{$idbutton}" {$ga_event} class="{$gsubmit_class}" style="width: 165px !important;">{$caption}</button>