Created
December 7, 2014 06:11
-
-
Save chexton/0332bf395c756e8e0d50 to your computer and use it in GitHub Desktop.
install vero ecomm
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
// 1. Put this just before </head> on EVERY page where you know the customer's email address. Replace your API key and replace the email with THEIR email address | |
<script type='text/javascript'> var _veroq = _veroq || []; _veroq.push(['init', {api_key: "YOUR_API_KEY"}]); (function(){var ve = document.createElement('script');ve.type = 'text/javascript';ve.async = true;ve.src = '//d3qxef4rp70elm.cloudfront.net/m.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ve, s);})(); </script> | |
<script> _veroq.push(['user', { | |
email: 'REPLACE_WITH_CUSTOMERS_EMAIL' | |
}]); | |
</script> | |
// 2. Put this before </body> on this page only: http://pazar.ackare.com/checkout/delivery | |
<script>_veroq.push(['track', 'begins checkout']);</script> | |
// 3. Put this before </body> on the POST-checkout page (i.e. thank you page) only: | |
<script>_veroq.push(['track', 'completes checkout']);</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment