Skip to content
Try free for 7 days
English
EnglishFrenchSoonItalianSoonJapaneseSoonSpanishSoonPortuguese (Portugal)SoonGermanSoonCzechSoonDanishSoonFinnishSoonKoreanSoonNorwegian (Bokmål)SoonDutchSoonPolishSoonPortuguese (Brazil)SoonTurkishSoonChinese (Simplified)SoonChinese (Traditional)Soon
Giao diện thử
Open in Claude Ask questions about this pageOpen in ChatGPT Ask questions about this page

Reference

How it works

A simple overview of how Sami Product Labels works behind the scenes to display badges on your storefront.

This page explains how Sami Product Labels delivers badges, labels, trust badges, highlights, and banners to your storefront — no coding knowledge required.

When you install the app, it adds an App Embed block to your Shopify theme – a standard Shopify mechanism for running app functionality on your storefront.

Toggle the App Embed on or off anytime from your Shopify theme editor under App embeds. Off means no badges show; on means the app handles everything automatically.

Every badge, label, trust badge, highlight, and banner you create is saved as a Shopify metafield attached to your store – Shopify’s built-in system for storing custom data.

This means:

  • No external API calls at page load — configurations are already stored in Shopify, so there’s no third-party server to wait on.
  • Fast performance — badges load as fast as any other part of your theme.
  • Reliability — badges stay available as long as your store is online, with no external server to go down.

When a customer visits your store:

  1. The App Embed script loads as part of your theme.
  2. The script reads your badge configurations from the stored metafields.
  3. It evaluates your targeting rules — which products, collections, pages, or customer segments should see each badge.
  4. The matching badges are rendered on the page in the positions you configured.

This entire process happens in the customer’s browser and takes only milliseconds.

Sami Product Labels tracks two key events to measure badge performance:

  • Add to cart — records which badge was displayed when a customer adds a badged product to their cart.
  • Order placed — records the conversion when a customer completes a purchase with a badged product.

These events power your Analytics dashboard, showing which badges drive engagement and sales.

The app detects the visitor’s country, powering country-based targeting so you can show different badges by region.

For example, you could display a “Free Shipping” badge only to customers in the United States, or show a “Local Pickup Available” badge to customers in your home country.

  • Does not modify your theme files — no Liquid code is injected.
  • Does not slow down your store — data is stored in Shopify metafields, not fetched from external servers.
  • Does not collect personal customer data — it uses customer tags and order counts for targeting only, never names, emails, or payment info.

Was this helpful?