Badge link support, plus relative and JavaScript link types

Nov 12, 2025 · 1 min read
On this page

We've just added link support for Flair badges and introduced two powerful new link types for both badges and banners.

You can now make badges interactive with links:

Link to sale collections, external sites, or trigger advanced actions like starting a text or email — even run custom JavaScript. More on that below.

Two new options add more flexibility:

Relative links Just use paths starting with /, like /collections/best-sellers. No need to type your full store domain.

JavaScript links Run custom JavaScript on click — great for advanced integrations. Examples: javascript:dispatchEvent(new CustomEvent('flair-offer-click')) or javascript:customFunction()

Flair now supports all these link formats:

  • http:, https:, / – Link to any page in your shop or beyond, e.g., /collections/sale.
  • sms: – Open a pre-filled text message, e.g., sms:5551112222&body=Get 20% Off.
  • mailto: – Open a pre-filled email, e.g., mailto:[email protected]?subject=Special Offer&body=Please send me the 20% OFF code.
  • javascript: – Fire custom events or functions, e.g., javascript:dispatchEvent(new CustomEvent('flair-offer-click')).

Learn more

gradient

Start Boosting Conversions Today

Join thousands of Shopify stores already winning sales with Flair.

Start Free Trial