Wix

Wix is an easy-to-use and powerful website builder. You can build any kind of website with Wix easily, without the need of technical experience.

ReferralMagic can easily be integrated with Wix and you can start converting your leads and users into referral magnets. This will definitely help you to get more leads and users with the help of referral marketing.

Step 1: Generate referral tracking javascript code

Login to your ReferralMagic account and create your referral campaign if you haven't done yet. On the next step, ReferralMagic will show you the tracker javascript installation instructions. Simply copy the tracker javascript:

Step 2: Add tracker javascript to your Wix powered website

Login to your Wix account and go to the dashboard of your website. On the left menu, click "Tracking & Analytics" menu item:

Click "+ New Tool" button the top right corner. Then choose "</> Custom" option:

Paste the javascript you have just copied from your ReferralMagic account. And append the following javascript code to end of the pasted code:

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script>
$.noConflict();
jQuery(function() {
jQuery('form').on('submit', function(e) {
	e.preventDefault();
	var email = jQuery('input[type=email]').val();

	window.rfmgc('sign-up', {
	    email: email
	});	

	jQuery('form').submit();
});
});
</script>

Enter "ReferralMagic" as the name and choose "Load code on each new page" option. Choose "Head" as the placement of the code:

That's all. ReferralMagic will start tracking coming in visitors and their form submissions on your Wix powered website.

If you have any questions or need help with the Wix integration, just let us know.

Still need help? Contact Us Contact Us