Forum Discussion
Dyanmic barcodes and/or QR codes
I've been looking into the Braze documentation looking for a native solution for showing dynamic barcodes/QR codes in email templates, but haven't found anything.
Is anyone aware of this function in Braze/Liquid Logic, or a viable alternative that can be leveraged via API's or other supported methods, that doesn't break the bank?
Thanks
- Manoj__Specialist II
Hello raygee Either you can use Bitly which can generate QR code via APIs but it will be expensive.
Alternate solution is to create your own QR code generator which is very easy and cheap.
Here is an example of a Cloudflare worker which will create a an endpoint and can be used to make a connected content call.
https://developers.cloudflare.com/workers/tutorials/build-a-qr-code-generator/- TedScottSpecialist
Check short.io ( much less that bit.ly). I know it can generate QR codes and in my last role we are using its API at scale to return unique urls and we used liquid to shorten URLs for Braze SMS before they added a shortner.
- bobSpecialist
I've never used them, but https://barcodeapi.org/limits.html seems to be fairly inexpensive and doesn't require you to build/host anything.
I'm tempted to see if I could implement a barcode/qr generator in liquid and have it reliably render something - just for fun though, I can't imagine it being in any way practical.
Related Content
- 2 years ago
- 9 months ago