Google Ads Conversion Event Snippet

<!-- Google Ads Conversion Event -->
<script>
    gtag('event', 'conversion', {
        'send_to': 'AW-XYZ/123', // <-- Update with your ID
        'value': {{ invoice.total }},
        'currency': '{{ invoice.currency }}',
        'transaction_id': '{{ invoice.transaction_id }}'
    });
</script>

Don’t put quotes around {{ invoice.total }} as the value has to be a number.

Instead of {{ invoice.total }}, you can also use {{ invoice.subtotal }} to send the price without tax.