Tracking
Initialization
To install Trustisto on you website please embed this code:
HTML
<script>
(function(a,b,c,d,e,f,g,h,i){
if(a.SP){return}
h=a.SPT={u:d},a.SP={init:function(a,b){h.ai=a;h.cb=b},
go:function(){(h.eq=h.eq||[]).push(arguments)}},
g=b.getElementsByTagName(c)[0],f=b.createElement(c),
f.async=1,f.src="//js"+d+e,i=g.parentNode.insertBefore(f,g)
})(window,document,"script",".trustisto.com","/socialproof.js");
SP.init("WEBSITE_ID");
</script>Make sure to replace
WEBSITE_IDwith your Website ID.
To start using Trustisto you need to embed our initialization snippet on your website.
You can put this code before </body> (end body tag) or you can put it inside you Tag Manager.
You can find your Website ID here: How to find website ID?
Customer ID
HTML
<script>
SP.go('setCustomerId', "CUSTOMER_ID"); // optional
</script>Make sure to replace
CUSTOMER_IDwith real Customer ID.
You can pass Customer ID if you want to identify users using you ID system.