How to collect more data when a contact signs up

How to collect more data when a contact signs up

With the NewZapp sign up form, you can collect the basic information about your contact such as email address (required), first name, last name and company name however there may be occasions where you wish to collect more information to offer different email campaign types.

Extending the data you can collect

You can collect additional personal and address data from your contacts by adding one or more of the following <input> elements.

<input name="Title" id="MyTitle" type="text" placeholder="title" />

<input name="JobTitle" id="MyJobTitle" type="text" placeholder="job title" />

<input name="TelNo" id="MyTelephoneNo" type="text" placeholder="telephone" pattern="[- +()]*[0-9][- +()0-9]*$" />

<input name="Address1" id="MyAddress1" type="text" placeholder="address 1" />

<input name="Address2" id="MyAddress2" type="text" placeholder="address 2" />

<input name="Address3" id="MyAddress3" type="text" placeholder="address 3" />

<input name="City" id="MyCity" type="text" placeholder="city" />

<input name="County" id="MyCounty" type="text" placeholder="county" />

<input name="Postcode" id="MyPostcode" type="text" placeholder="postcode" />

<input name="Country" id="MyCountry" type="text" placeholder="country" />

Custom tags 

You can also collect custom data for any Custom Tags you have set up in your account. Just use the exact name you have given each custom tag, including any spaces, hyphens or underscores etc like so:

<input name="Custom Text Data" id="MyCustomTextData" type="text" placeholder="custom text data" />

<input name="Custom-Number-Data" id="MyCustomNumberData" type="number" placeholder="custom number data" />

<input name="Custom_Yes_or_No_Data" id=" MyCustomYesNoData " type="checkbox" value="true" />

<input name="CustomDateData" id="MyCustomDateData" type="text" pattern="(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d" placeholder="custom date data" title="dd/mm/yyyy" />

Note that you can use <label for=”ID”>My Label </label> for any and all of these input fields, especially where a placeholder attribute can’t be used e.g. where type=”checkbox”.

Test, test and test again!

Remember to always test your sign-up form is adding data to your account as expected. Very often any issues is down to a simple type or code omission, so check your code carefully!

    • Related Articles

    • What is a Custom Field?

      Adding a Custom Field to your account so that you can import more data is only going to enhance the ability of personalising your communications, where you can then Segment based on data and even personalise your comms within the Editor based on ...
    • How to add an online sign-up form for your website

      NewZapp can generate code for you to add a simple sign-up form to your website and help grow your audience. - Go to Account Settings and then Sign-Up Form - Click the ‘Copy to clipboard ’ button - Paste the code into any HTML page on your website ...
    • What is a contact card?

      Each Contact has all their details stored in their Contact Card. To open a Contact’s card, go to the Groups area in the Contacts section and click on a Contact in the data table.    The Contact card is made up of 5 information tabs – Details, Groups, ...
    • Getting started with Contact Uploading

      Getting your contacts ready for Import Your database of contacts can be imported en mass via NewZapp's import contact function. To ensure a successful import we recommend: Your database is formatted correctly in an application such as Excel. You've ...
    • The do’s and don’ts of personalisation

      Personalisation has long been a proven tactic for email marketers. One of the reasons why it’s so effective is because it engages readers on a (you guessed it) personal level! If you’ve ever used mail merge in Word or Excel, then you’ll find this a ...