Skip to content

Instantly share code, notes, and snippets.

@craigcooperxyz
Last active October 12, 2020 09:32
Show Gist options
  • Save craigcooperxyz/6494661c21cb550569a25b23b15058b8 to your computer and use it in GitHub Desktop.
Save craigcooperxyz/6494661c21cb550569a25b23b15058b8 to your computer and use it in GitHub Desktop.
Adwords Conversion Tag Shopify
{% if first_time_accessed %}
<script>
gtag('event', 'conversion', {
'send_to': ' ',
'value': {{ total_price | money_without_currency }},
'currency': 'GBP',
'transaction_id': {{ order_number }}''
});
</script>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment