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.

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.

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.

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.

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.
  • 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.

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,
  • bulk campaigns,
  • 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).
  1. Hide element — enables hiding the button in the desktop or mobile version of the email.
  2. Padding — the distance between the button borders and the block boundaries.
  3. Margins — the distance between the button and other elements in the desktop version of the email.
  4. Include in — select the email versions in which this button will be displayed (HTML and/or AMP).
  5. Anchor link — moves the reader to a specific part of the email without scrolling. This simplifies navigation.
  6. Event type — used for automation. For example, you can specify an event triggered when the button is clicked to send additional emails automatically.
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.

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. Text style and font color — formatting (for example, bold or italic) and color of the button text.
  1. Fit to container — if enabled, the button will occupy the full width of its container in the desktop version.
  2. Block background color — the background color of the container (block) that contains the button.
  3. 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.).

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 >