Skip to content

Instantly share code, notes, and snippets.

@kennyfrc
Created September 10, 2017 05:10
Show Gist options
  • Save kennyfrc/034a2aec774f2b56f35af307bfbea31a to your computer and use it in GitHub Desktop.
Save kennyfrc/034a2aec774f2b56f35af307bfbea31a to your computer and use it in GitHub Desktop.
facebook checkout purchase tracking code
<script>
fbq('track', 'Purchase', {value: {{ total_price | money_without_currency }}, currency: {{ shop.currency }}});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment