installation-help
//1. Put this on every page, before </head>
<script type="text/javascript">
var _veroq = _veroq || [];
_veroq.push(['init', { api_key: 'dbf917d62021b3b5f05fa254ec01200e8b25f951'} ]);
(function() {var ve = document.createElement('script'); ve.type = 'text/javascript'; ve.async = true; ve.src = '//getvero.com/assets/m.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ve, s);})();
</script>
//2. Put this on every page where the user is LOGGED IN (put it after snippet #1, change the ID and email dynamically based
// each user's details)
<script type="text/javascript">
_veroq.push(['user', {
// Required attributes
id: 'customer@domain.com',
email: 'customer@domain.com'
}]);
</script>
//3. Track custom events by placing multiple snippets like this on your various pages (you can change the 'Signs up'
// part to whatever you want. You can then use these events to target emails)
<script type="text/javascript">
_veroq.push(['track', 'signs up']); // E.g. put this on the first page they see after signing up
</script>
<script type="text/javascript">
_veroq.push(['track', 'viewed dashboard']); // E.g. put this on the dashboard
</script>