var sample_properties = { 'Address': '8691 MacGyver Mews', //Replace with address of user 'City': 'New Jermaine', //Replace with city of user 'Mobile': '13457879', //Replace with mobile number of user 'Alternate Contact Number': '98765432' //Replace with a custom field }; fwcrm.set(sample_properties); var new_contact = { 'First name': 'John', //Replace with first name of the user 'Last name': 'Doe', //Replace with last name of the user 'Email': '[email protected]', //Replace with email of the user 'Alternate contact number': '98765432', //Replace with a custom field 'company': { 'Name': 'Example.com', //Replace with company name 'Website': 'www.example.com' //Replace with website of company } }; var identifier = '[email protected]'; fwcrm.identify(identifier, new_contact);