Identify your customers
Woopra also allows you to identify your customers as they convert from anonymous visitors to leads or customers by simply providing an email address. By identifying a customer, Woopra will be able to aggregate all the visits of that customer by email across multiple devices.
In order to identify a customer, you need to their email address to Woopra as a custom visitor property. It should be added before the javascript snippet and formatted in the following manner:
<script type="text/javascript">
function woopraReady(tracker){
tracker.setDomain('yourdomain.com');
tracker.setIdleTimeout(300000);
tracker.addVisitorProperty('email','john@smith.com');
tracker.addVisitorProperty('name','John Smith');
tracker.track();
return false;
}
(function(){
var wsc=document.createElement('script');
wsc.type='text/javascript';
wsc.src=document.location.protocol+'//static.woopra.com/js/woopra.js';
wsc.async=true;
var ssc = document.getElementsByTagName('script')[0];
ssc.parentNode.insertBefore(wsc, ssc);
})();
</script>
Standard attributes which will be displayed in the Woopra live visitor data include:
- email – Which displays the visitor’s email address and it will be used as a unique identifier instead of cookies.
- name – Which displays the visitor’s full name
- company – Which displays the company name or account of your customer
- avatar – Which is a URL link to a visitor avatar
But you can define any attribute you like and have that detail passed from within the visitor live stream data when viewing Woopra.