chexton
3/7/2013 - 9:59 AM

vero-checkout.html

vero-checkout.html

<!-- 1. Have the code from getvero.com/connectnow in the </head> section of your site. -->

<script>
  // 2. Somewhere during checkout you'll need to get the customer's email. Once you have you should call the following, replacing the customer's email dynamically.
  _veroq.push(['user', {id: 'email@domain.com', email: 'email@domain.com'}]);
</script>

<script>
  // 3. When a customer purchases a book (you'd do this for each book in the cart ideally):
  _veroq.push(['track', 'purchased book', {expiry_date: '2012-13-01'}]);
</script>