Creating CTA Button

A Call-to-Action (CTA) button is an essential element of an email campaign that encourages subscribers to visit a website, open social media pages, or perform another action.
Usually, the main button in an email is designed in the same style as the buttons on your website.

Dark ORDER NOW button styled to match a website's button design

Creating a Button

You can add a button:

  • inside an existing container, or
  • in a separate email structure (see more about structures and containers).
📘

Note

To ensure correct display in the mobile version (for example, if block inversion is required), it is recommended to add the button inside a container.

A structure that contains only a CTA block will not change its position relative to other structures and content elements when viewed on different devices.

Button in a Container

On the side Blocks panel, find the Button element and drag it into the required container of your email.

Blocks panel with the Button icon highlighted and an arrow pointing to the same icon inside a container in the email template

Button in a Separate Structure

  1. On the side panel Structures and Modules, open the Layouts tab.
  2. Drag the required structure into the email area.
  3. After adding the structure, select the content type Button.
Layouts tab in the Structures panel with a single-column layout highlighted and an arrow pointing to the highlighted Button content type icon in the template

Configuring the Button Design

By default, a newly created button:

  • does not contain a link;
  • displays the text Button (Arial, 18 px);
  • has a green background #31cb4b;
  • uses white text #ffffff.
Default button with green background, white Arial text reading Button

You can customize the style of:

  • a single button, or
  • all buttons that will be created later.

Editing a Single Button

Click the button block in the template.

The editing panel will open with two tabs:

  • Settings
  • Styles

Settings Tab

Specify the main functional parameters of the button.

  1. Link — the URL that will open when the button is clicked.
  2. Button text — the label displayed on the button.
Button block settings panel with the Link field marked 1 and the Button Text field marked 2
  • Secure Link — by default, this option is unavailable. It can be enabled upon request by contacting [email protected].

This option is used when the URL contains sensitive data such as:

  • contact identifiers;
  • tokens;
  • signed keys;
  • links to personal pages or orders.

Activation is not required for regular promotional links. After enabling this feature, the Secure link checkbox will appear in the button settings.

Button block settings panel with the Secure link checkbox checked and highlighted

After activating the checkbox:

  • the es-sl attribute is added to the <a> tag in the email code;
  • during sending, the link is automatically converted into a redirect:

https://esclick.me/sl?u=target_link&iid=sent_mail_identifier&h=hash

The feature works in:

  • test campaigns,
  • triggered campaigns,
  • broadcasts,
  • browser view of the email,
  • reports for individual messages.
📘

Note

Clicks on secure links are not displayed on the click map.

  1. Alignment — the position of the button in the block (left, center, or right).
  2. Fixed height — if enabled, the button height will not change depending on the device type.
  3. Icon — adds an image icon displayed inside the button (for example, a cart or arrow icon).
Button block settings showing Alignment on Desktop marked 3, Fixed Height marked 4, and Icon marked 5 with a shopping cart icon enabled
  1. Hide element — enables hiding the button in the desktop or mobile version of the email.
  2. Fit to container — if enabled, the button will occupy the full width of its container in the desktop version.
  3. Padding — the distance between the button borders and the block boundaries.
  4. Margins — the distance between the button and other elements in the desktop version of the email.
  5. Include in — select the email versions in which this button will be displayed (HTML and/or AMP).
  6. Anchor link — moves the reader to a specific part of the email without scrolling. This simplifies navigation.
  7. Event type — used for automation. For example, you can specify an event triggered when the button is clicked to send additional emails automatically.
Button block settings panel numbered 6 through 12 covering Hide Element, Fit to Container, Padding, Margins, Include in, Anchor Link, and Event type options
Link Types in a Button

In the button settings, you can select the link type. This determines where the user will be redirected after clicking.

  • General: Site, Mail, Tel, File, Skype, Viber, Sms, Telegram, Other.
  • Personalization: dynamic link
  • Share (social media): Facebook, X, LinkedIn, Pinterest.
Button block Link dropdown open on the General tab listing Site, Mail, Tel, File, Viber, SMS, Telegram, and Other link types, with Personalization and Share tabs highlighted

Styles Tab

This tab allows you to configure the visual appearance of the button.

  1. Button color — background color of the button.
  2. Font family — the font and formatting of the button text.
  3. Font size — the size of the button text (in px).
  4. Font weight.
  5. Text style and font color — formatting (for example, bold or italic) and color of the button text.
Button block Styles tab with Button Color, Font Family, Font Size, Font Weight, and Text Style fields numbered one through five
  1. Block background color — the background color of the container (block) that contains the button.
  2. Border radius — the corner rounding radius of the button.
📘

Note

To ensure rounded corners display correctly in Outlook, enable the Outlook support option in the global style settings (Button tab)..

  1. Border — the thickness of the button border.
  2. Border color — the color of the border.
  3. Style — the border line style (solid, dashed, etc.).
Button block Styles tab with Block Background Color, Border Radius, Border, Border Color, and Style fields numbered six through ten

Saving the Button to the Module Library

If you plan to reuse the created button in other emails, save it to the Module Library. This allows you to quickly add the styled button to new templates without configuring it again.

Editing All Buttons

By default, the appearance of buttons is determined by the styles defined in the email template. To change their design, edit the style settings in the global template. After that, all new buttons added to the email will automatically inherit the updated design.

Learn more about configuring button styles for the entire email >


Did this page help you?