Additional template files allow the user interface to be customized towards message recipients. These additional files can be defined at the level of a specific template, or in shared templates. If an additional file exists in the shared templates, this file takes precedence over the system interface. If an additional file exists directly in the template, then it takes precedence over the file in shared templates as well as the default system template.
Additional template files can be customized by modifying the default templates in the following ways.
In the detail of the template, click the New template file button and select which additional template file to create.
Confirmation page
A page based on this template will be displayed to recipients after signing up to a mailing list for campaigns using this template. By editing this template, you'll get the sign-in page in your own design. It is possible to further process different responses depending on the subscribtion status, eg. existing subscription, invalid email address, etc.
A page based on this template will be displayed to recipients after signing up to a mailing list for campaigns using this template. Edit this template to get a custom sign-in page. It is possible to further process various responses depending on the subscription status, the subscription that has already taken place, an invalid email address, etc.
The following variables can be evaluated in templates:
- shared.SUBSCRIBE_CODE - returns the recipient's subscription status to the mailing list
- 0 - OK: The email address has been added to the mailing list.
1: Email address already exists in the mailing list.
2: The mailing list does not exist
3: To confirm your subscription request please follow the link in the email sent to your email address. By not clicking the link you will not be subscribed to the emails sent by our company.
4: Invalid authorization code for email address used.
5: Invalid subscribe form verification code used. Unauthorized modifications to the subscribe form have been done!
6: Invalid email address
7: The confirmation link has expired or is not valid. Please return to the subscribe form and resubmit your subscription request.
8: Email address has been already confirmed using this link
- 0 - OK: The email address has been added to the mailing list.
- shared.CODE – subscription code
- shared.DML – Mailing list ID
- shared.EMAIL – email address of the subscriber
Unsubscribe page
A page based on this template will be displayed to recipients if they decide to opt out of the recipient list for campaigns using this template. Edit this template to get a unsubscribe page in your own design. It is also possible to further process various responses depending on the unsubscribe status, the unsubscription that has already taken place, the invalid email address, etc.
The following variables can be evaluated in templates:
- shared.UNSUBSCRIBE_CODE – returns the recipient's unsubcribe status from the mailing list
- 0 – Email address has not been found in the mailing list.
- 1 – Email address is on a timeout until... /Email address has been removed from mailing list.
- 2 – Email address has been removed already!
- 4 – Invalid unsubscribe code
- shared.CODE - the subscribe supplied
- shared.DT - Template ID
- shared.DSMD - The sent message ID
- shared.EMAIL - email address of the unsubscriber
Subscribe Email Template
An email message based on this template will be sent when a new recipient subscribes to the recipient list for campaigns using this template (Double Opt-in Method). This template can also be customized to fit your brand design and content.
The following variables can be evaluated in templates:
- shared.EMAIL – email address of the subscriber
- shared.DML – Mailing list ID to which the recipient was requested to be added
- shared.DML_NAME – the name of the mailing list to which the recipient was asked to be added
- shared.USER_CODE – the login authentication code used in the verification link URL
- shared.DML_COMPANY – the name of your company that was listed when registering your Mailkit account
Blank template
The blank template allows you to create any template file, eg. a microsite page or poll template. These template files can be included from other template files. In case the file has been created in shared templates it can be included from any template in the system.
Template block
Template blocks are used with Content Styles and define each individual block that can be used in the Drag & Drop editor.
Create a template with a poll
Due to the complexity of the preparation, it is worthwhile to create a survey in your own design only for surveys that will not change often and will remain the same for a longer period of time.
A new empty file will be inserted into the template that will be assigned to the campaign – for example survey.html
Place the entire survey in this file as follows:
- first send a campaign with a basic questionnaire/survey
- click on poll
- view the source code of the survey
- insert the source code (from <table> to </table>) into the file survey.html, where you give the poll its own look and wording
- it is still necessary to check and, if necessary, adjust the value
<input type="hidden" name="dsmd" value="123456789">
to
<input type="hidden" name="dsmd" value="[DSMD]">