http://www.calendar.com?day=25&month=1&year=2018?” character. The part before the “?” mark is the link and the part after the “?” mark is data being passed to the link.www.calendar.com and pass the data| day = 25 month = 1 year = 2018 |
calendar.com is going to do with that data, but it’s reasonable to assume that it has something to do with the date “January 25, 2018.”?” mark, followed by the actual query string which is made up of name=value data pairs, each separated by the “&” character:http://www.calendar.com?day=25&month=1&year=2018&” character is commonly pronounced “and” in computer programming languages, so you can loosely think of that query string like this:| ? (pass the following data:) day = 25, and month = 1, and year = 2018 |
name=value pairs shows numerical values, but values can contain numbers, characters, and symbols as well. The month value could just as easily have been either of these:month=jan
month=[January]name=value parameter. For example, let’s assume you have a URL and you need to add this ClickMagick integration parameter:s1=[clickid]?” mark yet), you’ll need to create the query string by adding a “?” mark followed by the new parameter:http://www.website.com?s1=[clickid]?” mark), you would simply add the new parameter to the end using the “&” character:http://www.website.com?id=475&s1=[clickid]%20, colons with %3A, and slashes with %2F. Don’t be surprised if you see http:// encoded as http%3A%2F%2F. Check out W3Schools.com’s complete list of URL encodings.&” character itself will often be replaced with & amp;. This creates some unusual looking query strings, especially when you paste an otherwise normal looking link into a Page Builder and you see your name=value pairs separated by & amp; entities when you view your page source. You can find an extensive list of these HTML entities at W3Schools.com.%## and &entity; encodings are when you do see them.http://www.calendar.com?day=&month=&year=www.calendar.com example, this might simply mean “display today” since an actual date is not specified. Using value-less parameters is quite common, so don’t let it confuse you if you see them.[query_string] token. See the section on Passthrough Tokens in this FAQ:| What data can I pass to the URLs I promote? |
| History and Use of Query Strings |