Skip to main content

How do I set up QR codes in a template?

Add a QR code to a template that links to a fixed URL or to a different URL per location.

Written by Justin Verhoeve

A QR code in a template can link to the same web page for everyone, or to a different page per location, for example the page of the local store. You prepare the QR code in InDesign and set it up in Template Studio.

Step 1: Prepare the QR code in InDesign

  1. Select the frame for the QR code.

  2. Go to Object › Generate QR Code...

  3. Set Type to Plain Text.

  4. In the content field, type the default URL.

  5. Optional: change the color of the QR code.

Step 2: Set up the QR code in Template Studio

After the upload, the QR code appears as a variable with the type QR code in the Variables tab.

  1. Navigate to Template Studio and open the template.

  2. Go to the Variables tab and open the QR code variable.

  3. Check the Label. Users see this name in the editor.

  4. In Value, fill in the URL the QR code links to.

  5. Want a different URL per location? Click the { } icon in the Value field and choose a DNA field, for example Website. The value then becomes {{location.website}}, and every location gets a QR code with its own website.

  6. Under Settings, choose whether users can change the URL with Editable by user.

  7. Select Save.

Tip: Turn off Editable by user when the QR code must always link to the official page. Turn it on when users should add their own link, for example to a local promotion.

Good to know

  • Test the QR code with your phone in the final document, not only in the preview.

  • With Location DNA, make sure every location has a correct URL in the field you use.

  • Keep the QR code large enough to scan. Ask your print supplier about the minimum size.

Did this answer your question?