Email Templates Customization
Overview
This tutorial focuses on customization of transactional emails that are sent to your customers when certain user actions occur (e.g. registering to your service or requesting a password reset) which is possible with the Advanced Customization option (Cleeng-Mailchimp integration).
If you select the Advanced Customization option for your transactional emails, you can build an email template from scratch using the visual editor in Mailchimp and adding Cleeng data variables (parameters) in the template content.
Cleeng parameters work like Mailchimp merge tags. For more information on how Mailchimp merge tags work, see Mailchimp documentation.
In Cleeng, we have two kinds of parameters that you can use to insert personalized or dynamic content in your emails:
- Global Parameters
- Specific Template Parameters
For example, you can use the CUSTOMER_FIRST_NAME
parameter to display a customerâs first name where the parameter is placed. You can paste it anywhere you want in the html file, it can be either a value for parameter or value in the text tag like in the example below.
Note: Please pay attention to the formatting of parameters as specified in the Mailchimp documentation for merge tags.
<b>Hi *|CUSTOMER_FIRST_NAME|*,</b>

"Welcome email" example
Global parameters
They are used in every template to reflect a broadcasterâs branding and data of a specific customer that an email is sent to.
Parameter | Type | Description |
---|---|---|
CUSTOMER_FIRST_NAME | string | Customerâs first name |
CUSTOMER_EMAIL | string | Customerâs email address |
PUBLISHER_NAME | string | Broadcasterâs name |
ACCOUNT_URL | string | Account link |
TERMS_URL | string | Terms & Conditions link |
PRIVACY_URL | string | Privacy Policy link |
CURRENT_YEAR | number | Current year |
PUBLISHER_LOGO | string | Broadcasterâs logo set by the broadcaster in the dashboardâs brand settings |
PUBLISHER_MAIN_COLOR | string | Main color set by the broadcaster in the dashboardâs brand settings |
Specific template parameters
This section is divided into email templates.
It contains specific template parameters that are applicable to particular email templates and are used besides global ones.
Welcome email
No specific parameters for "Welcome email" template.
Access purchased
Specific Template Parameter | Type | Description |
---|---|---|
OFFER_AMOUNT | number | Offer amount |
OFFER_CURRENCY | string | Offer currency |
OFFER_TYPE | string | Offer type |
OFFER_NAME | string | Offer name |
RENEWAL_DATE | string | Renewal date |
TRIAL_STATUS | boolean | Trial status (whether a subscription is or is not in a trial period) |
Invoice
Specific Template Parameter | Type | Description |
---|---|---|
TRANSACTION_NAME | string | Transaction name |
TRANSACTION_PRICE_TAX | number | Transaction amount - with tax included |
TRANSACTION_PRICE_NO_TAX | number | Transaction amount - with tax excluded |
TRANSACTION_CURRENCY | string | Transaction currency |
TRANSACTION_TAX_RATE | number | Tax rate (%) used in the transaction |
TRANSACTION_DATE | string | Date of payment |
TRANSACTION_ID | string | Transaction ID |
TRANSACTION_TAX_VALUE | number | Transaction tax value |
FEE_NAME | string | Name of the fee charged for the transaction, e.g handling fee |
FEE_VALUE | number | Fee amount |
FAQ_URL | string | FAQ link |
CUSTOMER_COUNTRY | string | 2-letter customer country code (ISO 3166 country code) |
OFFER_TYPE | string | Offer type |
TRIAL_STATUS | boolean | Trial status (whether a subscription is or is not in a trial period) |
Renewal announcement
Specific Template Parameter | Type | Description |
---|---|---|
OFFER_AMOUNT | number | Offer amount |
OFFER_CURRENCY | string | Offer currency |
RENEWAL_DATE | string | Renewal date |
Subscription renewed
Specific Template Parameter | Type | Description |
---|---|---|
IS_SUB_REACTIVATED | boolean | Whether a subscription is reactivated |
Access expired
Specific Template Parameter | Type | Description |
---|---|---|
TRIAL_STATUS | boolean | Trial status (whether a subscription is or is not in a trial period) |
Failed payment
Specific Template Parameter | Type | Description |
---|---|---|
REJECTED_COUNT | number | Count of the rejected payment attempts |
PAYMENT_METHOD | string | Payment method |
OFFER_AMOUNT | number | Offer amount |
OFFER_CURRENCY | string | Offer currency |
FAILURE_REASON | string | Failure reason |
Forgot password
Specific Template Parameter | Type | Description |
---|---|---|
RESET_PASSWORD_URL | string | Password reset link |
Credit card issues
Specific Template Parameter | Type | Description |
---|---|---|
CARD_EXPIRED | boolean | Status of a customerâs card |
Refund confirmation
Specific Template Parameter | Type | Description |
---|---|---|
OFFER_NAME | string | Offer name |
REFUND_AMOUNT | number | Refund amount |
Updated about 1 month ago