Created
October 14, 2018 16:04
-
-
Save marcusRB/b9887a3007f3c80e041dcc436a5ad7b8 to your computer and use it in GitHub Desktop.
InitiateCheckout as ViewContent for Google Tag Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* InitiateCheckout as ViewContent for Google Tag Manager - Update 10.2018 MR//PD | |
Trigger: when Step 1 loaded or Step 2 initiate, extract checkout value from dataLayer | |
Remember: Set Tag Sequencing load before main pageView FBads tag | |
*/ | |
<script> | |
fbq('track', 'InitiateCheckout', { | |
value: {{cJS - EEC - checkoutValue}}, //as FLOAT | |
currency: 'EUR', | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment