Embedding the Invite-a-Friend Form on a Page
Embedding the Invite-a-Friend Form
Step 2: Copy and paste this code into your web page where you want the Invite-a-Friend Form to appear.
How Do I Calculate the Tester Hash?
The tester hash for each of your testers is simply a SHA1 hex digest of your project's secret decoder key followed by the their e-mail address. This value is calculated similar to how an invitation code is validated, as described here. This is a security measure to ensure invitations aren't sent on someone else's behalf.
Additional Configuration Settings
Here is a complete reference of all settings you can pass to the Invite-a-Friend Form. Just add any of these as data attributes to the prefinery-invite-a-friend-embed div.
|data-prefinery-tester-hash||string||The tester hash identifies the tester who will be sending invitations and is simply a SHA1 hex digest of your secret invitation decoder key followed by the tester's e-mail address.|