Javascript code

This is one time integration code for all the campaigns. If you have already included this in your footer, no need to put it again.

Static Javascript widget :

Select All


<div id='invtrflfloatbtn'></div>
<script>    
var invite_referrals = window.invite_referrals || {}; (function() { 
    invite_referrals.auth = { bid_e :'6F9CNXXXXXXXXXXXXXX',
                                bid : '52X', 
                                t : '420', 
                                email : '', userParams : {'fname': ''}};    
                                invite_referrals.async = false;
var script = document.createElement('script');
script.src = "//cdn.invitereferrals.com/js/invite-referrals-1.0.js";
var entry = document.getElementsByTagName('script')[0];entry.parentNode.insertBefore(script, entry); })();
</script>

For Asynchrous Javascript SDK, set invite_referrals.async to true
invite_referrals.async = true;