- create a new rule; give a meaningful name
- Add a Destination
- give a meaningful name and specify CUSTOM URL as destination type
- then add the following into the URL field:
{product_url}/?qr={qr}
--> this will pass the URL configured under the product AND the extended ID as follows:
https://www.scantrust.com/?qr=AcA_Iz6EbjJN
-
NOTE: There is a difference between regular codes and GS1 codes. regular codes will simply show up as they are, while with GS1 codes the / will be encoded as %2F
REGULAR CODE
https://sbaf.st4.ch/AcA_Iz6EbjjN
{product_url}/?qr={qr}
https://www.scantrust.com/10/?qr=AcA_Iz6EbjjN
GS1 CODE
https://sbaf.st4.ch/01/02007030099995
{product_url}/?qr={qr}
https://www.scantrust.com/?qr=01%2F02007030099995
To show the correct GS1 code in the URL, add and exclamation mark (!)
{product_url}/?qr={qr!}
https://www.scantrust.com/?qr=01/02007030099995
The information that can be passed through the URL
{product_url}/?qr={qr!}&scan_id={id}&sku={sku!}&Latitude={lat}&Longitude={lng}
https://www.scantrust.com/?qr=01/12345678912345&scan_id=f4ee05a3-cf99-458d-b7c2-e184c07ebc4b&sku=gs1_code_product&Latitude=31.222&Longitude=121.458
Comments