Follow

URL Campaign Customization

Sometimes, when using a campaign-based URL redirect, you may want to pass additional information, for example:

  • qr = Extended ID
  • id = Scan ID
  • region = Scan Region (works with intended market + custom region).
  • api_key = Campaign API KEY
  • scm:<key> = Any SCM field, for example, to show distributor, you would type {scm:distributor}

Additional information is passed in a URL (as query parameters or a query string) primarily to "allow the server to generate dynamic content", enable the user to "share or bookmark a specific page state", and for "tracking and analytics purposes". 

 

Following you will find the steps to configure the URL, based on every item: 

1. Click on the hamburger menu in the upper left corner of the screen.

2. In the appearing slide-out menu, click on CAMPAIGNS.

3. Then click on the OPTION PANEL: 

mceclip0.png 

4. Then, select CUSTOM URL, option: 

ezgif.com-gif-maker__9_.jpg

5. Customize the URL based on the following options: 

Extended ID: 

https://scantrust.com/#/{qr}

Once you click on SAVE, you can try to read a code and check if the information is populated after the reading process, as follows: 

mceclip1.png

Scan ID: 

https://scantrust.com/#/{id}

mceclip2.png

Region:

https://scantrust.com/#/{region}

mceclip3.png

For the region section, the country will appear based on the ISO2366 standard country codes. 

API Key:

https://scantrust.com/#/{api_key}

mceclip4.png

 

SCM Field:

 https://scantrust.com/#/{scm:distributor}

For the SCM fields, you can populate any field that is included in the campaign, ie. The distributor: 

mceclip5.png

Additionally, you can set up multiple values and show them in the same URL:
https://scantrust.com/#/{qr}&{region}

mceclip0.png

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments