Skip to content

Instantly share code, notes, and snippets.

@marcfowler
Last active May 4, 2017 01:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcfowler/f3047118768eb40cb7a1eff2abc371bd to your computer and use it in GitHub Desktop.
Save marcfowler/f3047118768eb40cb7a1eff2abc371bd to your computer and use it in GitHub Desktop.
ThriveCart: Help: Facebook Pixel code
<script>fbq('track', 'Purchase', {value: _thrive_order.order.bump.total_readable, currency: _thrive_order.order.currency});</script>
<script>fbq('track', 'Purchase', {value: _thrive_order.order.downsells[DOWNSELL_ID_HERE].total_readable, currency: _thrive_order.order.currency});</script>
<script>fbq('track', 'Purchase', {value: _thrive_order.order.product.total_readable, currency: _thrive_order.order.currency});</script>
<script>fbq('track', 'Purchase', {value: _thrive_order.order.upsells[UPSELL_ID_HERE].total_readable, currency: _thrive_order.order.currency});</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment