सामग्री पर जाएं

Barcode block

यह सामग्री अभी तक आपकी भाषा में उपलब्ध नहीं है।

The Barcode block adds a scannable barcode or QR code to an email. Each recipient gets their own code: Pushwoosh builds it at send time from a personalization value, most often a voucher.

Use it when recipients show the email at a checkout or a counter, for example to redeem a discount voucher in a store, present a loyalty card number, or pick up an order. A cashier scans the code from the phone screen, so nobody types it in by hand.

Set up the barcode

Anchor link to
  1. In Code, keep {{voucher}} when the email is sent with a voucher pool or click Merge tag and choose the tag that stores each recipient’s code. Email resolves the tag at send time so each person gets their own scannable value.

    Barcode Code field with {{voucher}} and Merge tag button
  2. Choose Symbology:

    SymbologyUse it forAccepts
    QRA square 2D code phones can scanAny text up to 1000 characters, including alphanumeric codes like WELCOME2025-A1
    Code 128A linear barcodeLetters, digits, and symbols from the ASCII set, up to 80 characters, including the same alphanumeric codes
    EAN-13The common retail barcode in Europe and many other regionsDigits only, 12–13 characters
    EAN-8A shorter retail barcode for small packagingDigits only, 7–8 characters
    UPC-AThe common retail barcode in North AmericaDigits only, 11–12 characters
  3. If you chose QR, set Error correction. This adds spare data so the code can still scan when part of it is covered, worn, or hard to see. Choose L, M, Q, or H (default M). Higher levels survive more damage but make the pattern denser, which can be harder to read at small sizes. Skip this field for other symbologies.

  4. Print the code in digits shows the value under the code. It’s on by default. To hide the value, turn it off.

    Barcode Symbology set to QR, Error correction M, and Print the code in digits checked
  5. In Appearance, set Bars color, Background, Width (px), and Height (px) (600 and 200 by default). Leave Quiet zone, modules on Auto for the default margin.

Barcode Appearance settings with Bars color, Background, Width, Height, and Quiet zone

Check the code before sending

Anchor link to
  • On the canvas, the block shows a sample barcode, not the real recipient code. Placeholders such as {{voucher}} become a scannable image only at send time. Send a test email to see the actual code before the campaign goes out.
  • Use EAN-13, EAN-8, or UPC-A only for a value that’s digits only, at the length each expects. For alphanumeric codes such as WELCOME2025-A1, use Code 128 or QR.
  • Smart check warns you if a typed value doesn’t match the Symbology you chose. It doesn’t check a value with a placeholder, such as {{voucher}}. If such a value doesn’t fit the symbology, the recipient sees a broken image instead of the code.