In this article, you will learn how to add URL query parameters to obtain desirable results during Zuddl registration.
To any URL, query parameters can be added in this format:
https://zuddl.com?parameter1=value1¶meter2=value2
Everything after? are the query parameter elements. The table below explains the elements:
ElementsDescription | |
? | Indicates the start of the query |
Parameter | The parameter name using which you wish to filter or organize your content. |
Value | The parameter value. Starts with ‘=’ sign. |
& | Separator added between two parameter-value entries. |
Ensure that the parameter and its value is of the original case as URL encoders are often case sensitive.
The Zuddl-specific parameter is explained in the table below:
ParameterValue/Description | |
ticket_id | Used to show a particular ticket. Accepts the alphanumeric ticket id as value. |
coupon | Accepts the coupon code (for example ’GETOFF200’) as value. |
skip_ticketing | Accepts true or false. Default to false. |
The order of query parameters does not matter while appending to the URL.
`ticket_id` Value`skip_ticketing` Value`coupon` ValueURL formatBehavior | ||||
Hidden/locked | Not present/false | Coupon code is applicable for the ticket | Ticket is auto-selected and coupon is applied | |
Hidden/locked/Incorrect | Not present/false | Not applicable/Not present | User still will be allowed to select other tickets | |
Id is incorrect | true | Not present | User is not allowed to select other tickets and shown the invalid link error | |
Not present | Not present | Present | https://app.zuddl.com/p/a/event/341148e3-55cf-44c0-15325?coupon=GETOFF200 | Will show all public tickets and all locked/hidden tickets applicable for the coupon |