chexton
4/9/2013 - 11:03 AM

installation.html

installation.html

<!-- 1. Put this just before </head> on EVERY page. -->


<!-- 2. Call this Javascript whenever you get someone's email and whenever they login: -->

<script>
  var email = 'customersemail@domain.com';
  _veroq.push(['user', {id: email, email: email});
</script>


<!-- 3. Track the necessary actions in the right places: -->
<script>
  _veroq.push(['track', 'views a product']);
</script>

<!-- The names of the events you want to track are: views a product, begins checkout, 
completes checkout, signs up, logs in, views a product category -->


<!-- 3b. You can track dynamic details when you track an event, you can dynamically 
populate this. For example on this page (http://www.keller-sports.com/en/Adidas-Essentials-Gym-Bag.html) 
you'd probably want it to track something like: -->

_veroq.push(['track', 'Views a product', {
  name: 'Adidas Essentials Gym Bag',  
  price: 9.95, 
  url: 'http://www.keller-sports.com/en/Adidas-Essentials-Gym-Bag.html', 
  image_url: 'http://ee40live.keller-sports.com/modules/thumbnail-large/1/585-adidas-essentials-gym-bag-tttad041-1_p1.jpg'
});