Skip to main content
Dynamic QR Code plugin for WordPress

search for answers or browse pages

Print
Documentation update in progress

This page is being updated for the upcoming version of the plugin.
Some instructions may not match the version currently available.

Info variations by QR code

Scenario

You want to share one landing page through several QR codes, for example for a marketing campaign.

The page should remain the same, but a small part of the content has to change depending on the QR code scanned, so that you can display a different message without creating multiple pages.

Solution

Create multiple QR-Codes, each linked to the same landing page.

For each QR-Code, enable the option Add query parameter in the settings: this will append the QR-Code Key to the redirect URL.

On the landing page, configure the content so that it changes depending on the Key value received in the query string.

dynamic qr code generator

Click on the QR-Codes menu voice of the plugin

start of procedure »

Click the button to open a new empty QR-Code

Insert the fields:

  • Description: enter an explanatory/mnemonic name for the QR-Code
  • Key: digit a sequence of characters
  • Redirect URL: select or write the URL of the landing page
  • Activate the option Add query parameter

Click the button to save the QR-Code in the database

« end of procedure

Repeat this procedure for every QR-Code you need.

On the landing page

At the end of the QR-Codes creation process, make sure to handle the landing page.

The Key of the scanned QR-Code is passed in the query string under the parameter sos-dqc-key.

You have to retrieve this parameter and decide what to do depending on its value, for example showing a specific piece of information or highlighting a different section.

If you’re not into coding, this can be achieved by using WordPress plugins that show or hide blocks based on query string parameters.

This way...

different information is displayed in the same page depending on the scanned qr code.

Table of Contents