Rule Example

Overview

For this example, we will create a Rule within a Redirect Response Mode configuration.

Redirect Rule Example

How the Ruleset works

In this example, we have created two Rule Groups. The Rule Groups are processed in order.

User scans an NFC tag for the first time

The user scans a tag for the first time and therefore the scan count is 1. As the scan count is less than 5, then the first Rule Group will be matched and the Rule Group URL : https://seritag.com will be the response. Therefore, the user scanning the tag will be redirected to our seritag website.

User scans an NFC tag for the 5th time

In this instance, the scan count is now 5. The first Rule Group no longer matches so ixkio will proceed to the second Rule Group.

This has two Rules. The scan must be from an NFC tag and the scan count is less than 10.

In this instance, the scan would match the second Rule Group and the Rule Group URL : https://seritag.com/learn/ would be returned.

User scans an NFC tag for the 11th time

Now, neither the first or second Rule Groups would match and the response would default to the 'Rule Set Default URL'. In this example, the response returned would be https://ixkio.com. Therefore, the user scanning the tag would be redirected to our ixkio website.

QR Code Scenario

If the first four scans were from an NFC tag and the fifth scan was from a QR code, then the scan count would still be five (as ixkio's scan count is for both NFC and QR).

However, while the scan count is less than 10, the fifth scan was not from an NFC tag and therefore the second Rule Group would not match.

The response would therefore default to the Rule Set Default URL.

Last updated

Copyright TabDesk Ltd 2023