ResourcesKnowledge Base

User interface templates

Additional template files allow you to customize the user interface of your email campaigns.

Additional template files allow customization of the user interface. Additional template files can be customized by editing the default templates in the following ways.

In the detail of the template, click on the New template file button and select which additional template file to create.

addtemplatefile.png

Confirmation page

A page based on this template will be displayed to recipients after signing up for a list of recipients 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.

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 recipient list.
      1: E-mail address already exists in this recipient list.
      2: The mailing list does not exist
      3: To confirm your registration, click the link in the message that was sent to the address. If you do not confirm your login by clicking this link, your subscription will not be sent to the recipients in the list under the name operated by our company.
      4: Invalid authorization code for email address used.
      5: Invalid subscription form code. Unauthorized manipulations were made with the subscription form used!
      6: Invalid email
      7: The confirmation link has already expired or is invalid. Please return to the subscription form and resubmit your subscription request.
      8: The email address has already been confirmed using this link
  • shared.CODE - subscription code
  • shared.DML - Mailing list ID
  • shared.EMAIL - e-mail address of the subscriber

Unsubscribe page

A page based on this template will be displayed to the recipient if it decides to opt out of the list of recipients for campaigns using this template. By editing this template, you will get the unsubscribe page in your own design. It is possible to further process different responses depending on the state of unsubscription, eg. already unsubscribed, invalid email address,

The following variables can be evaluated in templates:

  • shared.UNSUBSCRIBE_CODE - returns the recipient's unsubcribe status from the mailing list
    • 0 - email is not found in the list
    • 1 - the email has been successfully removed from the mailing list
    • 2 - email has already been unsubscribed
    • 4 - an invalid confirmation code has been used
  • shared.CODE - the subscribe supplied
  • shared.DT - Template ID
  • shared.DSMD - The sent message ID
  • shared.EMAIL - email address of the subscriber

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 URL 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. as an include snippet or microsite page.

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

The poll in its own design is worthwhile due to the difficulty of preparing it only for polls that will not change frequently and will remain the same for a long time.

A new blank file will be added to the template that will be assigned to the campaign - eg anketa.html

In this file you place the entire poll, as follows:

  • first send a campaign with a basic questionnaire
  • click on poll on the poll
  • you will see the source code of that poll
  • source code (or "from table to / table") to anketa.html file where you will give your poll a custom look and formula
  • it is still necessary to check and, if necessary, adjust the value
<input type="hidden" name="dsmd" value="123456789">

na

<input type="hidden" name="dsmd" value="[DSMD]">