Generate barcode in landing page

The barcode generator feature will help you generate a scannable CODE128 barcode by reading the value from a target group header.

To generate a barcode on your landing page, follow these steps:

  1. Create a landing page using drag-and-drop composer.
  2. Drag and drop a 1-Column layout.
  3. Drag and drop an Image block in a 1-Column layout.
  4. Select the image block and click Select image .
  1. On the Select Image screen, click Use Image URL and enter the URL as
https:// <your tenant domain>/barcode/generate?text=$(ETG_<TG header>)&textPosition=1

For example, if your target group has a header as PNR_NUMBER then the URL should be

https://dummytenant.io/barcode/generate?text=$(ETG_PNR_NUMBER)&textPosition=1

📘

If your usecase is to generate a barcode using an instant deployment based on an event that has BARCODE as a header then use the below URL:
https://dummytenant.io/barcode/generate?text=$(EEG_BARCODE)&textPosition=1

  1. Click Select & Proceed.
  2. You can proceed to design other blocks on the landing page and click Save & Exit.

Now the landing page is ready to be used in SMS deployments.