form.submit()function and send the user information such as email address and name.
<div>to your page where you want the sharing screen to appear and give ReferralHero the ID of such div in the Configuration file.
successcallback receives a parameter, which is an object with two properties:
Responsecan have the following values:
Dataian object containing the subscriber's data (unless response is "error").