How to Copy the Optin Form code for Ontraport

Note: Your optin form only needs two fields, name and email.

1
Navigate to Contacts >> Forms and select the form you want to use:
2
Select 'Publish':
3
Select 'HTML Version' and copy the HTML form code to a text editor: