{"id":856,"date":"2021-10-07T16:34:47","date_gmt":"2021-10-07T23:34:47","guid":{"rendered":"https:\/\/www.golinks.com\/help\/?p=856"},"modified":"2025-11-06T11:45:15","modified_gmt":"2025-11-06T19:45:15","slug":"advanced-variable-golinks-with-default-values","status":"publish","type":"post","link":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/","title":{"rendered":"Advanced variable golinks with default values"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_54_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\" role=\"button\"><label for=\"item-69f2c421c3714\" ><span class=\"\"><span style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #091f32;color:#091f32\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #091f32;color:#091f32\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input aria-label=\"Toggle\" aria-label=\"item-69f2c421c3714\"  type=\"checkbox\" id=\"item-69f2c421c3714\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#Basic_Example\" title=\"Basic Example\">Basic Example<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#Optional_portions\" title=\"Optional portions\">Optional portions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#Default_Values\" title=\"Default Values\">Default Values<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#Variable_Top_Domains\" title=\"Variable Top Domains\">Variable Top Domains<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#A_Real_Example_with_Google_Drive\" title=\"A Real Example with Google Drive\">A Real Example with Google Drive<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Variable go links, also referred to as parameterized go links or template go links, allow you to create more customized functionalities than just the normal redirect. We&#8217;ve seen variable go links used to redirect to specific Jira tickets, instantly create meeting links, and find account data for specific users or companies within dashboards.<\/p>\n\n\n\n<p>Variable go links are great, and they can get even more advanced. Below we describe how variable go links work with default values and optional portions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-basic-example\"><span class=\"ez-toc-section\" id=\"Basic_Example\"><\/span>Basic Example<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use the <code>{*}<\/code> pattern to define where the variable should live in the URL.<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Golink<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=<code>{*}<\/code>&amp;hl=EN<\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/www.google.com\/?q=<code>searchterm<\/code>&amp;hl=EN<\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=&amp;hl=EN<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Variable links are useful, but as you can see in the last example, using the go link without the variable usually doesn&#8217;t resolve to a URL that makes sense. This is where the curly braces come in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-optional-portions\"><span class=\"ez-toc-section\" id=\"Optional_portions\"><\/span>Optional portions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Option portions of the URL can be included and removed with the curly brace syntax.<\/p>\n\n\n\n<p>Use the <code>{{<\/code> and <code>}}<\/code> patterns to define which part of the URL should be optional if no variable is used.<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Golink<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/<code>{{<\/code>?q=<code>{*}<\/code>&amp;hl=EN<code>}}<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/www.google.com\/?q=<code>searchterm<\/code>&amp;hl=EN<\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/www.google.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-default-values\"><span class=\"ez-toc-section\" id=\"Default_Values\"><\/span>Default Values<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Sometimes you still want to use the optional portions but instead of removing portions of the URL, you want to provide a default value for what should be in place of the option portion. This is where the &#8220;pipe&#8221; characters comes into use.<\/p>\n\n\n\n<p>Use the <code>|<\/code> character inside of the <code>{{<\/code> and <code>}}<\/code> patterns to define a default value that will replace everything inside of the <code>{{<\/code> and <code>}}<\/code> patterns<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Go link<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/<code>{{<\/code>?q=<code>{*}<\/code> <code>|<\/code> ?q=default<code>}}<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/www.google.com\/?q=<code>searchterm<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=default<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>This is the same implementation as the example above, just written differently<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Go link<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=<code>{{{*}|<\/code>default<code>}}<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/www.google.com\/?q=<code>searchterm<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=default<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The same example again, but written different<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Go link<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/<code>{{<\/code>www.google.com\/?q=<code>{*}|<\/code>www.google.com\/?q=default<code>}}<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/www.google.com\/?q=<code>searchterm<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/www.google.com\/?q=default<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-variable-top-domains\"><span class=\"ez-toc-section\" id=\"Variable_Top_Domains\"><\/span>Variable Top Domains<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>With the previous example, you can see how you can change the underlying URL depending on if a variable is used or not. In this example, let&#8217;s say you wanted to search bing if there was a variable, and if there is not a variable, just open up Google. You can do that like this.<\/p>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Go link<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/search<\/td><td>https:\/\/<code>{{<\/code>www.bing.com\/?q=<code>{*}|<\/code>www.google.com<code>}}<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search\/searchterm<\/td><td>https:\/\/<code>www.bing.com\/?q=searchterm<\/code><\/td><\/tr><tr><td>Usage<\/td><td>go\/search<\/td><td>https:\/\/<code>www.google.com<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>This previous example doesn&#8217;t make sense in a real-world example, but this becomes useful for pages that have a search. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-a-real-example-with-google-drive\"><span class=\"ez-toc-section\" id=\"A_Real_Example_with_Google_Drive\"><\/span>A Real Example with Google Drive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here is a real example that will use <a href=\"https:\/\/www.golinks.io\/drive\" target=\"_blank\" rel=\"noreferrer noopener\">go\/drive<\/a> to go to a specific Google Drive folder, and if there is a variable, it will search that Google Drive folder with the term.<\/p>\n\n\n\n<ol id=\"block-4f6b9b8e-b785-4d0f-bdc2-f9f7cefb4fbc\">\n<li>Go to<a href=\"https:\/\/drive.google.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"> https:\/\/drive.google.com\/<\/a><\/li>\n\n\n\n<li>Find a Folder you want to choose for Google Drive<\/li>\n\n\n\n<li>Write down the URL: <a href=\"https:\/\/www.golinks.io\/drive\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/drive.google.com\/drive\/folders\/16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/a><\/li>\n\n\n\n<li>Next, type in a search term into the Search Bar like &#8220;searchterm&#8221;, but don&#8217;t click Search yet.<\/li>\n\n\n\n<li>Click on the filter button in the Google Drive search bar on the right.<\/li>\n\n\n\n<li>Choose a &#8220;Location&#8221; to the same Google Drive Folder<\/li>\n\n\n\n<li>Click Select.<\/li>\n\n\n\n<li>Now click &#8220;Search&#8221;<\/li>\n\n\n\n<li>You should see a URL like this: <a href=\"https:\/\/www.golinks.io\/drive\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/drive.google.com\/drive\/search?q=searchterm%20parent:16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/a><\/li>\n\n\n\n<li>Now you have 2 URLs. Combine them to look like this:<\/li>\n\n\n\n<li>https:\/\/drive.google.com\/drive\/<code>{{<\/code>search?q=<code>{*}<\/code>%20parent:<code>|<\/code>folders\/<code>}}<\/code>16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large img-fluid\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"820\" src=\"https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-1024x820.png\" alt=\"\" class=\"wp-image-859\" srcset=\"https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-1024x820.png 1024w, https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-300x240.png 300w, https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-768x615.png 768w, https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-1536x1230.png 1536w, https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-2048x1641.png 2048w, https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-40x32.png 40w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-table table\"><table><tbody><tr><td><\/td><td>Go link<\/td><td>URL<\/td><\/tr><tr><td>Setup<\/td><td>go\/drive<\/td><td>https:\/\/drive.google.com\/drive\/<code>{{<\/code>search?q=<code>{*}<\/code>%20parent:<code>|<\/code>folders\/<code>}}<\/code>16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/td><\/tr><tr><td>Usage<\/td><td>go\/drive\/searchterm<\/td><td>https:\/\/drive.google.com\/drive\/search?q=<code>searchterm<\/code>%20parent:16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/td><\/tr><tr><td>Usage<\/td><td>go\/drive<\/td><td>https:\/\/drive.google.com\/drive\/folders\/16mJwzXAnHTxxxLjwzLIJmKgbbuBkGXGh<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Now when you type in go\/drive you will end up at the specific folder, but if you want to search that folder you simply type in <a href=\"https:\/\/www.golinks.io\/drive\" target=\"_blank\" rel=\"noreferrer noopener\">go\/drive\/searchterm<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Variable go links, also referred to as parameterized go links or template go links, allow you to create more customized functionalities than just the normal redirect. We&#8217;ve seen variable go links used to redirect to specific Jira tickets, instantly create meeting links, and find account data for specific users or companies within dashboards. Variable go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[98,95],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.1.2 (Yoast SEO v20.11) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Advanced variable golinks with default values &raquo; Help Center<\/title>\n<meta name=\"description\" content=\"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Advanced variable golinks with default values\" \/>\n<meta property=\"og:description\" content=\"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/golinks\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-07T23:34:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-06T19:45:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-1024x820.png\" \/>\n<meta name=\"author\" content=\"Sean Burke\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@golinks\" \/>\n<meta name=\"twitter:site\" content=\"@golinks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Burke\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/\",\"url\":\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/\",\"name\":\"Advanced variable golinks with default values &raquo; Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.golinks.com\/help\/#website\"},\"datePublished\":\"2021-10-07T23:34:47+00:00\",\"dateModified\":\"2025-11-06T19:45:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.golinks.com\/help\/#\/schema\/person\/6acaa6e49f03817ce0b885fa2077c63f\"},\"description\":\"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help\",\"item\":\"https:\/\/www.golinks.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using GoLinks\",\"item\":\"https:\/\/www.golinks.com\/help\/using-golinks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to use go links\",\"item\":\"https:\/\/www.golinks.com\/help\/using-golinks\/how-to-use-go-links\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Advanced variable golinks with default values\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.golinks.com\/help\/#website\",\"url\":\"https:\/\/www.golinks.com\/help\/\",\"name\":\"Help Center\",\"description\":\"Support Articles to help you find information about go links\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.golinks.com\/help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.golinks.com\/help\/#\/schema\/person\/6acaa6e49f03817ce0b885fa2077c63f\",\"name\":\"Sean Burke\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.golinks.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/805c4172c3898650e94dc93e0eae95d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/805c4172c3898650e94dc93e0eae95d1?s=96&d=mm&r=g\",\"caption\":\"Sean Burke\"},\"sameAs\":[\"https:\/\/golinks.io\/golinks.com\/help\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Advanced variable golinks with default values &raquo; Help Center","description":"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/","og_locale":"en_US","og_type":"article","og_title":"Advanced variable golinks with default values","og_description":"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.","og_url":"http:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/","og_site_name":"Help Center","article_publisher":"https:\/\/www.facebook.com\/golinks","article_published_time":"2021-10-07T23:34:47+00:00","article_modified_time":"2025-11-06T19:45:15+00:00","og_image":[{"url":"https:\/\/images.golinks.io\/help\/wp-content\/uploads\/2021\/10\/07155626\/Screen-Shot-2021-10-07-at-3.56.15-PM-1024x820.png"}],"author":"Sean Burke","twitter_card":"summary_large_image","twitter_creator":"@golinks","twitter_site":"@golinks","twitter_misc":{"Written by":"Sean Burke","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/","url":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/","name":"Advanced variable golinks with default values &raquo; Help Center","isPartOf":{"@id":"https:\/\/www.golinks.com\/help\/#website"},"datePublished":"2021-10-07T23:34:47+00:00","dateModified":"2025-11-06T19:45:15+00:00","author":{"@id":"https:\/\/www.golinks.com\/help\/#\/schema\/person\/6acaa6e49f03817ce0b885fa2077c63f"},"description":"Variable golinks allow for customized redirects. See how variable links get more advanced with default values and optional portions.","breadcrumb":{"@id":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.golinks.com\/help\/advanced-variable-golinks-with-default-values\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help","item":"https:\/\/www.golinks.com\/help\/"},{"@type":"ListItem","position":2,"name":"Using GoLinks","item":"https:\/\/www.golinks.com\/help\/using-golinks\/"},{"@type":"ListItem","position":3,"name":"How to use go links","item":"https:\/\/www.golinks.com\/help\/using-golinks\/how-to-use-go-links\/"},{"@type":"ListItem","position":4,"name":"Advanced variable golinks with default values"}]},{"@type":"WebSite","@id":"https:\/\/www.golinks.com\/help\/#website","url":"https:\/\/www.golinks.com\/help\/","name":"Help Center","description":"Support Articles to help you find information about go links","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.golinks.com\/help\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.golinks.com\/help\/#\/schema\/person\/6acaa6e49f03817ce0b885fa2077c63f","name":"Sean Burke","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.golinks.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/805c4172c3898650e94dc93e0eae95d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/805c4172c3898650e94dc93e0eae95d1?s=96&d=mm&r=g","caption":"Sean Burke"},"sameAs":["https:\/\/golinks.io\/golinks.com\/help"]}]}},"_links":{"self":[{"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/posts\/856"}],"collection":[{"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/comments?post=856"}],"version-history":[{"count":24,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/posts\/856\/revisions"}],"predecessor-version":[{"id":3378,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/posts\/856\/revisions\/3378"}],"wp:attachment":[{"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/media?parent=856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/categories?post=856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.golinks.com\/help\/wp-json\/wp\/v2\/tags?post=856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}