Documentation

Smart Marketing Blocks Documentation

Product guidance, setup notes and block reference articles for Smart Marketing Blocks customers.

Coupon / Promo Code

Purpose

The block displays a promo code, short offer description, copy button, and optional CTA link.

Content

  • Text: the promo offer description, edited directly in the block.

Settings

  • Code: the promo code displayed in the block and copied by the Copy button.
  • CTA label: the CTA link text.
  • URL: the CTA link. If the link is empty, the CTA is not displayed.
  • Expiration text: the campaign expiration or terms text.

Frontend Behavior

The Copy button copies the Code value to the clipboard through the Clipboard API. After a successful click, the button text changes to Copied.

Availability

This is a Pro block. It appears in the editor only when Pro mode is active.