Integrating with Redeal

Together with our partner Redeal you can create ambassador campaigns to allow your visitors to invite their friends to your product or service.

How to install

Step 1. Add Redeal Tracking script to the Triggerbee Client Script

(function(i,s,o,g,r,a,m){i['RedealObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window, document, 'script', window.location.protocol + '//static.redeal.se/widget/js/redeal.js', 'redeal');

Step 2. Use these snippets to work with theRedeal banner

Open Cornerwidget

redeal("cornerwidget");

Identification of ambassadors

window.addEventListener("message", function(e) {
  var tbRedeal=e.data.redeal;
  if(tbRedeal?.email){
	var tbContact = window.mtr_custom || {};
	tbContact.session = tbContact.session || {};
	tbContact.session.email = tbRedeal.email;
	window.mtr_custom = tbContact;
	mtr.goal("Redeal Conversion");
    }
});

Open Redeal on Triggerbee Button

redeal('banner');
mtr.widget('clickthrough', 15083);

Still need help? Contact Us Contact Us