Skip to content

Global Variables

Global Variables let you define a value once — your support phone, address, brand color, a logo URL — and reuse it across your whole site. Update it in one place and it changes everywhere it’s used.

  1. Click Add Variable to add a blank row.
  2. Enter a Key and a Value.
  3. Save with the floating Save Variables bar.
ColumnRules
KeyRequired. snake_case only (lowercase letters, numbers, underscores). Must be unique.
ValueAny text. Genesis shows a live swatch for colors and a thumbnail for images.

Genesis automatically detects the type of each value and shows a small badge so you can scan the list at a glance:

BadgeType
TText
URL
@Email
Phone
Image
Color

Once saved, reference a variable anywhere on your site with:

globalVariable('your_key')

You can also ask the AI builder to use one — for example, “use the global variable support_email in the footer”.