- Can I integrate a subscription form directly in the platform
- I want to capture contacts for my newsletter directly on my website
How does it work?
You can create your own subscription form for new Addemar subscription using our landingpages functionality
Place this form on your company website or in any of your online communications, and grow your Addemar contacts database constantly.
If you work with different contact groups, you can choose to which contact group(s) you want to subscribe the new contacts.
What do you have to do?
It is important that you know what contactdata you want to capture and If you want these 'new' contacts to be captured in a new group.
The fields that you want to insert in the form can be found in Segment -> fields. The code column describes the code you need to integrate in your form.
Should you want to capture these contact inside a new group, you need to create a need contact group in the section Segment -> Contact group
To create a subscription form please complete these steps :
1. Create a new landingpage. Navigate the Create -> landingspages and create a new landingpage.
2. Inside the landingpage you need to create a form with a simple <form> tag. Name and action are not required, just take an example:
<form action="" name="" method="post" ></form>
3. Insert at least a text field with name="email" and/or insert text fields if you want to gather more data about the new subscriber. Use the label of the field as name="".
<input type="text" name="email" value="">
<input type="text" name="first_name" value="">
<input type="text" name="last_name" value="">
<input type="text" name="company" value="">
Note: the name should correspond literally to the name of the field in Addemar. Replace spaces by underscores.
4. Include the following hidden fields to fine tune the functionality of the subscription form:
- Contact group ID
<input type="hidden" name="id" value="">
Insert the id's of the contact groups to which you want to subscribe via this form as a value, separated by comma's. E.g. value="182,175,84"
If you leave the value empty, the contact will just be added to the contacts list. If you fill in the contact group id’s, the contact will be added to the general contacts list but also to the corresponding contact groups.
Note: you find the contact group ID by clicking the icon next to the contact group. The URL in your browser contains a "gid" now. The number behind this gid is the contact group ID. (e.g. 182 in case gid=182)
<input type="hidden" name="source" value="">
Insert the source you want to mention with all contacts as a value, e.g. "Website form". This source will be visible in the history of every contact subscribed via this form.
- Type of subscription
<input type="hidden" name="type" value="0">
Insert the type of subscription scenario you want. You can set the value to:
0: simple opt-in. No e-mail will be sent. Only the confirmation page you set in "ret" will be shown
1: confirmed opt-in. The subscriber will receive a message confirming he has subscribed.
2: double opt-in. The subscriber will receive a message asking him to confirm his subscription by clicking a link.
When you choose option 1 or 2, a standard confirmed opt-in and double opt-in message are send in your own house style.
<input type="hidden" name="lan" value="nl_BE">
Insert the language you want for the opt-in messages. You can set the value to:
- Return address
<input type="hidden" name="ret" value="">
Insert an address to return to as value. When the subscriber has clicked the subscribe button, he should receive some kind of confirmation. You can:
show him the standard message ("you have been added to our contacts list"). Leave the value blank.
redirect him to a company webpage. Fill in the URL as value (ex. http//www.boundlessgallery.com/thanx.html).
- Status code as a parameter
<input type="hidden" name="status" value="0">
If you redirect the subscribed contact to a URL, you can add a status code to this URL as a parameter should you want to provide the contact with the proper information. You can set the value to:
0: no status code will be added to the URL.
1: the following status codes will be added to the URL: 0: ok, 1: format error, 2: contact already subscribed but removed so subscribed & updated, 3: contact already subscribed so updated, 4: inserted, 5: double optin e-mail sent.
- Insert a button
<input type="submit" name="action_subscribe" value="subscribe">
Here's an explanation of the different actions we offer :
action_submit : this will simply submit the values and store the different submitted values
action_subscribe : this will subscribe the contact
action_unsubscribe : this will unsubscribe the contact
action_edit : this action will update the contacts data.
action_editmixed : this action will update the known contact fields and store the other fields
- Should you want to receive an report of each person submitting the form, you can integrate the following hidden field
<input type="hidden" name="add_report_email" value="email@example.com">
Here's an example of a simple form which will subscribe new user into a group with id=6 and send a report towards firstname.lastname@example.org
<form action="" method="post" name="">
<table border="1" cellpadding="1" cellspacing="1">
<td><input name="email" type="text" value=""></td>
<td><input name="firstname" type="text" value=""></td>
<td><input name="lastname" type="text" value=""></td>
<td><input name="company" type="text" value=""></td>
<input name="id" type="hidden" value="6">
<input name="add_report_email" type="hidden" value="email@example.com">
<input name="action_subscribe" type="submit" value="Subscribe here">