In your app
A controller answers a route on your app: it callsreplaceGlobal() and returns the answer.
Add the controller
app/Http/Controllers/ReplaceGlobalController.php
Add the route
routes/web.php
auth lets only your signed-in users reach it.Call it
Your own page’s form or script sends
PUT /global/ckitdo5oq004pu69kr6oxo6fr:en:published (a form adds @csrf, as every web route checks it, and @method('PUT')), and gets back its answer as JSON. Test it, below, calls it.Call it from the terminal
Terminal
replaceGlobal() on your default site and prints its answer as JSON. It writes, so it asks first: add --force to skip the question in a script. See Call any method from the terminal for every argument type.
PATCH changes only the fields sent. Completely replace a specific global document document by ID using PUT semantics
Find the id
id is the document’s _id, from a list. Ask the list for only the fields you need: each row is a document’s id and those fields.
Laravel
Terminal
$row['id'] as id. Drafts: list with aposMode: 'draft' to get the draft’s id (Find an id).
Required parameters
Required parameters
Named arguments, e.g.
replaceGlobal(id: …); leave out the optional ones.Required. Computed document ID (can optionally include mode and locale, e.g., id:en:published) Matches
^\S+$.Required. Change this — to “2”, a date, anything — and every visitor is asked again. Do that whenever what you do with the data materially changes; consent given under the old terms does not carry over.
Required. Give this the same visual weight as Accept. A reject option that is harder to find than accept is the single most commonly penalized banner design.
Optional parameters
Optional parameters
Optional. Leave it out and the site uses
"published". published (the default) or draft. Drafts need a credential that may see them: an API key with the type’s write scope (content:<type>:write), or a signed-in editor. The public and a key with only the read scope get 403. One of draft, published.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. The locale to read or write, e.g. en (default: the site’s default locale).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. The _id of the piece/page that was copied to create this document (only present if created via _copyingId)Optional. Leave it out and the site uses
"The website platform for modern businesses". Tagline.Optional. Shown in the site header on the dark theme (and over the hero). Upload to the Images library first. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Browser tab icon — the default, also used when the browser is in dark mode. Upload a square PNG or SVG (at least 64×64) to the Images library. If empty, the bundled default icon is used. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Optional. Used when the visitor’s BROWSER or device is in light mode — this follows the browser’s color scheme, not the site’s own theme toggle. If empty, the main favicon is used everywhere. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Leave it out and the site uses
"Your City, ST". Shown in the footer. Use up to three lines for a full street address, or just one for a town/region.Optional. Leave it out and the site uses
"". The registered name of the company, e.g. “Example Holdings LLC”. Fills [Business legal name].Optional. Leave it out and the site uses
"". Any other names the business operates under, e.g. “Example Studio and Example Supply”. Fills [Trade names].Optional. Leave it out and the site uses
"". Where the business is based, for governing law. Fills [State or region].Optional. Leave it out and the site uses
"". Where legal disputes are heard. Fills [County or venue].Optional. Leave it out and the site uses
"". The youngest age your website is intended for, e.g. “13”. Fills [Minimum age].Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Your main brand color — buttons, links, accents. Hover + soft tints are derived automatically. Leave empty for the built-in design color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Text/icon color shown ON primary-colored buttons. Defaults to white — set a dark color if your primary is pale.
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Supporting color — eyebrows, offset shadows, secondary accents.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Warm accent, used sparingly.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Body-text link color (rich-text content). Leave empty to track the primary color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. The base page background.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Cards and raised panels that sit above the page background.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Recessed / inset bands.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Primary text color. Mind contrast against the page background.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Secondary / muted text color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Borders and dividers.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Positive / confirmation state (forms, alerts).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Caution state.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Error / destructive state.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Informational state.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"default". Typeface used for headings and display type. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload.Optional. Leave it out and the site uses
"clash-display". Display font — curated pick. One of clash-display, satoshi, general-sans, space-grotesk, bricolage-grotesque, archivo, sora, syne, outfit, unbounded, fraunces, playfair-display, zodiak, sentient.Optional. Leave it out and the site uses
"bunny". Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare.Optional. Leave it out and the site uses
"". Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Optional. Leave it out and the site uses
"". Comma-separated weights to load, e.g. 400, 700. Empty loads 500, 700, 800. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).array<int, GlobalFontDisplayUploadsItem|array<string, mixed>>|Collection<int, GlobalFontDisplayUploadsItem|array<string, mixed>>|null
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Optional. Leave it out and the site uses
"sans". Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono.Optional. Leave it out and the site uses
"default". Typeface used for body text and UI. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload.Optional. Leave it out and the site uses
"inter". Body font — curated pick. One of inter, manrope, public-sans, work-sans, nunito-sans, ibm-plex-sans, source-sans-3, dm-sans, karla, switzer, supreme, satoshi, general-sans, lora, source-serif-4.Optional. Leave it out and the site uses
"bunny". Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare.Optional. Leave it out and the site uses
"". Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Optional. Leave it out and the site uses
"". Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 600, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).array<int, GlobalFontBodyUploadsItem|array<string, mixed>>|Collection<int, GlobalFontBodyUploadsItem|array<string, mixed>>|null
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Optional. Leave it out and the site uses
"sans". Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono.Optional. Leave it out and the site uses
"default". Typeface used for code blocks and monospace accents. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload.Optional. Leave it out and the site uses
"jetbrains-mono". Accent / mono font — curated pick. One of jetbrains-mono, ibm-plex-mono, fira-code, space-mono, source-code-pro, dm-mono, inconsolata, ubuntu-mono, courier-prime, red-hat-mono, spline-sans-mono, victor-mono.Optional. Leave it out and the site uses
"bunny". Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare.Optional. Leave it out and the site uses
"". Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Optional. Leave it out and the site uses
"". Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).array<int, GlobalFontAccentUploadsItem|array<string, mixed>>|Collection<int, GlobalFontAccentUploadsItem|array<string, mixed>>|null
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Optional. Leave it out and the site uses
"mono". Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono.Optional. Leave it out and the site uses
"wide". The widest the page content gets: sections, layouts, the header and the footer all line up to it. Smaller screens always use their full width, minus the side margins. One of standard, wide, xwide.array<int, GlobalSocialLinksItem|array<string, mixed>>|Collection<int, GlobalSocialLinksItem|array<string, mixed>>|null
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Each profile is optional — add only the networks you use. A link only appears once it has a URL. Pick a platform for its brand icon, or “Other / custom” to choose any icon.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Site-wide fallback for link previews (Open Graph): used on any page that has neither its own Social share image nor a featured image. Recommended 1200×630. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area.Optional. Leave it out and the site uses
false. Adds schema.org structured data about the business to every page, built from the Brand tab’s business name, address, phone and email plus the Social Links list. Helps search engines show rich results. Nothing is published until this is on and a business name is set.Optional. Leave it out and the site uses
"LocalBusiness". The schema.org type that best describes the business. “Local business” fits most sites with a physical location or service area. One of LocalBusiness, Organization, ProfessionalService, Store.Optional. Leave it out and the site uses
true. Adds the Service Area Map’s coverage (place names, service radius) to the business structured data on every page, and the full zip-code/boundary detail on pages with a Service Area Map section. Helps search engines and AI answers understand where the business serves — there is no visual search result for this, and it never affects map-pack ranking. Keep it consistent with the areas on the business’s Google Business Profile. Demo map data is never published.Optional. Leave it out and the site uses
"". Optional, plain words — e.g. “House cleaning” or “Airport transfers”. When set, the structured data pairs it with the service areas as a schema.org Service; when empty the areas attach directly to the business.Optional. Leave it out and the site uses
"none". Plausible is a privacy-friendly, cookieless analytics service. Visitor page views are counted anonymously; logged-in editors are never tracked. One of none, plausible.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Paste the script address from your site’s snippet in Plausible → Site Settings → Site Installation (it looks like https://plausible.io/js/pa-XXXXXXXX.js and is unique per site). Analytics stay off until this is set. Optional measurements (outbound links, file downloads, form submissions) are toggled in the Plausible dashboard — no change needed here. When set, a URL; empty or null when not.Optional. Leave it out and the site uses
true. Off hides the banner AND stops every non-essential cookie and third-party embed — declining is the only safe reading of “never asked”. Turn it off only on a site that sets nothing beyond the strictly necessary.Optional. Leave it out and the site uses
"eu". Where opt-in applies, nothing non-essential runs until the visitor agrees. Everyone else sees the same banner as a notice: analytics and embedded content work immediately, and declining switches them off. The first option follows the law that is strictest about being asked first, without putting a wall in front of visitors whose law does not require one. One of eu, all, notice.Optional. Leave it out and the site uses
"lenient". Country comes from your CDN or proxy (Cloudflare’s header, or one you configure). Without it the site falls back to this, plus a browser time-zone check that quietly upgrades an apparently European visitor to opt-in. Put Cloudflare or a GeoIP header in front of the site and this setting stops mattering. One of lenient, strict.Optional. Leave it out and the site uses
"left". Banner position. One of left, right, center, full.Optional. Leave it out and the site uses
true. Opens the per-category preferences panel. Leaving it on is the safer choice: accept-or-reject with no middle option is what regulators have been fining sites over.Optional. Leave it out and the site uses
false. A small button pinned to the bottom corner, over the page. Off by default because the footer link below already offers this — turn it on if you want the control visible without scrolling.Optional. Leave it out and the site uses
true. Puts the reopen control at the bottom of every page, under the “Powered by” line — where visitors look for it. Uses the reopen label from the Cookie banner wording tab. Leave this on unless the floating button above is on instead: consent must stay as easy to withdraw as it was to give.Optional. Leave it out and the site uses
true. GPC is a browser-level “do not sell or share my data” signal, legally binding in several US states. When on, a visitor sending it starts with everything non-essential switched off — they can still turn categories on by hand.Optional. Leave it out and the site uses
false. A third-party script that has already run cannot be switched off in place: it keeps running until the next full page load (each vendor is still told about the withdrawal straight away). On, the page reloads as soon as a visitor switches a category OFF, so nothing they declined keeps running. Off by default: the reload interrupts whatever the visitor was doing, and most visitors are not in a region that requires it.Optional. Leave it out and the site uses
180. How long a visitor’s answer stands before the banner returns. Six months is the common practice and twelve is the usual ceiling. 1 to 365.Optional. Leave it out and the site uses
true. Stores a receipt for each decision (which categories, when, under which policy version) so you can show consent was given. Kept for two years, then deleted automatically.Optional. Leave it out and the site uses
"". Optional. Leave empty for the message alone, which is how most banners read best.Optional. Leave it out and the site uses
"See our cookie policy.". Rendered after the message as a link to the policy page. Leave empty to omit it.Optional. Leave it out and the site uses
"/cookie-policy". A path on this site or a full URL. The default matches the parked Cookie Policy page.Optional. Leave it out and the site uses
"Choose which cookies we may use. You can change your mind at any time — nothing here is permanent.". Preferences panel intro.Optional. Leave it out and the site uses
"Required for the site to work — security, load balancing, remembering your cookie choices. These are never used to track you and cannot be switched off.". Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Optional. Leave it out and the site uses
"Remember your preferences and power embedded features such as maps, media and social content. Turning these off may leave parts of a page unavailable.". Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Optional. Leave it out and the site uses
"Help us understand which pages are visited and how people move through the site, so we can improve it. Aggregate only — never used to identify you personally.". Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Optional. Leave it out and the site uses
"Measure whether an advertisement or campaign brought you here, and let us tailor what we show you. These are the cookies most people mean by \"tracking\".". Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Optional. Leave it out and the site uses
"Content not loaded". Shown in place of an embed (a map, a social video) that is waiting on consent.Optional. Leave it out and the site uses
"This content is served by another company, which would receive your IP address and browser details. It loads once you accept functional cookies — or just for this one item, if you press the button.". Blocked-content message.Optional. Leave it out and the site uses
true. Takes the public site offline. Visitors and search engines see a “be right back” page (served with the correct temporary-outage signals, so search rankings are preserved); logged-in editors keep the full site and can continue editing. A new site starts with this on: turn it off when the site is ready to go live.Optional. Leave it out and the site uses
"3600". How long search engines should wait before checking back (the Retry-After hint). A rough estimate is fine — it is a hint, not a promise, and nothing switches back automatically. One of 3600, 14400, 43200, 86400, 259200, 604800.Optional. Leave it out and the site uses
"". Optional short message shown on the maintenance page (e.g. what is happening or when you expect to be back). Leave empty for a generic “we’ll be back soon” line.Optional. Leave it out and the site uses
true. Master switch for the site’s scroll and entrance motion (section reveals, count-ups, marquees, the hero). When off, no animation code is loaded and every section appears in its final, static state. Visitors whose device requests reduced motion always get the static experience regardless of this setting.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Site-wide CSS for every section of a type and for shared elements (buttons, the header, the footer…). Type into the slot of the part you want to style; a section’s own CSS tab wins over this.Optional. Leave it out and the site uses
"floating". Floating rests transparent over the hero and morphs to glass on scroll; Glass is frosted from the top; Solid is an opaque bar (uses the bar background color). One of floating, glass, solid.Optional. Leave it out and the site uses
"island". Island floats as a contained pill; Full width spans edge-to-edge (squared corners, content still centered). Full width ignores the corner radius below. One of island, full.Optional. Leave it out and the site uses
"rounded". Applies to the Island bar (Full width is always squared). One of pill, rounded, slight, square.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. The bar fill for Glass / Solid styles (and the glass tint when scrolled). Leave empty to use the raised surface color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
true. A hairline outline around the bar (shown when glass / solid / scrolled).Optional. Leave it out and the site uses
true. A soft drop shadow under the bar (when glass / solid / scrolled).Optional. Leave it out and the site uses
true. The bar slides away when scrolling down and returns when scrolling up.Optional. Leave it out and the site uses
true. The floating bar stays transparent at the top and becomes a glass pill once the page scrolls. Turn off to keep it transparent.Optional. Leave it out and the site uses
false. Keeps the whole navbar (bar, logo, wordmark, links, dropdown, button and mobile menu) in its dark-theme look even when a visitor switches to the light theme, e.g. a header that always sits over a dark hero photo. While on, the light-theme header colors and the light-theme logo are not used. Off follows the site theme.Optional. Leave it out and the site uses
"lg". Below this width the links collapse into the mobile menu (hamburger). Raise it if you have many or long links. One of md, lg, xl.Optional. Leave it out and the site uses
"medium". Logo height. One of small, medium, large.Optional. Leave it out and the site uses
true. A subtle tilt + scale when the cursor is over the logo lockup.Optional. Leave it out and the site uses
true. The business name in type beside the logo. Turn off when the logo already includes the name.Optional. Leave it out and the site uses
"". Optional override of the text wordmark. Leave empty to use the business name.Optional. Leave it out and the site uses
true. Render the first word large and the rest as a small tracked-out caption beneath it. Off renders the whole wordmark on one line.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"extrabold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"bold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Header navigation.Optional. Leave it out and the site uses
"More". Label for the overflow dropdown that holds links placed in “More”.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"extrabold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out and the site uses
"sweep". How the hovered / active link is marked. One of sweep, grow, pill, none.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty to use the site accent color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Color + indicator for the current page’s link. Leave empty to use the secondary (mint) color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"Member Portal". The visible button text. Leave empty to hide the button.Optional. Leave it out and the site uses
"https://fetchski.com". Where the button goes — a path (/blog) or full URL.Optional. Leave it out and the site uses
false. Opens the link in a new browser tab (adds rel=“noopener noreferrer”).Optional. Leave it out and the site uses
"solid". Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of solid, outline, soft, link.Optional. Leave it out and the site uses
"normal". Button size. One of small, normal, large.Optional. Leave it out and the site uses
"slight". Corner radius. One of pill, rounded, slight, square.Optional. Leave it out and the site uses
"--fetchski-accent". Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"--fetchski-ink". The text/icon color. Clear it to derive from the button color (readable on solid fills).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Drives the hover treatment. Leave empty to derive it from the button color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"sweep". The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of none, single, dual, glow, sweep, thicken.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"lift-scale". Hover motion. One of lift, scale, lift-scale, none.Optional. Leave it out and the site uses
"". Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.Optional. Leave it out and the site uses
"classic-regular". Icon family. One of classic-regular, duotone-regular, brands, jelly, jelly-duo, whiteboard.Optional. Leave it out and the site uses
"before". Which side of the label the icon sits on (when an icon name is set). One of before, after.Optional. Leave it out and the site uses
false. The icon slides toward its side on hover (e.g. an arrow edges outward).Optional. Leave it out and the site uses
"right". Drawer side. One of right, left.Optional. Leave it out and the site uses
"normal". Drawer width. One of narrow, normal, wide.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty to use the site surface color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
true. Repeat the header button at the bottom of the mobile drawer.Optional. Leave it out and the site uses
true. A small animated hint shown when the menu links overflow.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"bold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty to use the site accent color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"default". Site default keeps the footer’s sunken surface; Solid color and Image override it. The site surface color is the fallback when a color is left empty. One of default, solid, image.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Used for a Solid background (and as the fallback behind an Image). Leave empty to use the site surface color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Scrim over the image to keep the footer legible. Leave empty to use the surface color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
85. Overlay opacity (%). 0 to 100.Optional. Leave it out and the site uses
"normal". Vertical padding. One of tight, normal, roomy.Optional. Leave it out and the site uses
true. A hairline rule along the top edge of the footer.Optional. Leave it out and the site uses
true. Show “Back to top” button.Optional. Optional logo shown at the top of the company column, used on the dark theme. Leave both footer logos empty to use the site logo (Site settings → Brand); with no logo at all the business name leads. Upload to the Images library first. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related
@apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Optional. Leave it out and the site uses
"medium". Logo height. One of small, medium, large.Optional. Leave it out and the site uses
"left". Aligns the logo within the company column (e.g. centered above the business name). One of left, center, right.Optional. Leave it out and the site uses
true. The business name as a heading at the top of the column. Turn off when the logo already carries the name.Optional. Leave it out and the site uses
true. Show tagline.Optional. Leave it out and the site uses
true. Show address, phone & email.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"bold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"normal". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Each group becomes a column in the footer. Add a Legal group for Terms & Privacy, etc.Optional. Leave it out and the site uses
"2". How many columns the link groups flow into. Auto fits to the available width; a fixed count packs shorter groups together (e.g. Legal stacked under Elsewhere). Groups are never split across columns. One of auto, 2, 3, 4.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"bold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large, xlarge.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"normal". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"normal". Size. One of small, normal, large.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty to use the site accent color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"slide". Hover effect. One of none, slide, underline.Optional. Leave it out and the site uses
true. A slow ribbon of phrases scrolling across the top of the footer. Any page can override this for itself in Page Settings → Footer.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Each phrase can carry its own icon; without one, a dot separates it from the next phrase.Optional. Leave it out and the site uses
"normal". Marquee speed. One of slow, normal, fast.Optional. Leave it out and the site uses
false. Adds a small, unobtrusive pause/play control so visitors can stop the auto-playing background motion (WCAG 2.2.2). Only appears when a moving background is set.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty for the muted default.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"bold". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
true. A giant outlined word along the bottom of the footer. Reveals/fills on hover.Optional. Leave it out and the site uses
"". Keep it to one short word — it renders at display size. Leave empty to use the business name.Optional. Leave it out and the site uses
"display". Watermark size. One of display, large, medium.Optional. Leave it out and the site uses
"left". Watermark alignment. One of left, center, right.Optional. Leave it out and the site uses
"letter". Outlined letters that fill on hover one at a time, all at once, or always-solid (no ghost effect). One of letter, word, solid.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Overrides the wordmark fill + outline tint. Leave empty to track the theme’s text color.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"© {year} {business}. All rights reserved.". Type {year} where this year goes (it updates itself every January) and {business} for the business name. Left empty, the site shows “© {year} {business}. All rights reserved.”Optional. Leave it out and the site uses
"". Optional short line shown beside the copyright (e.g. a slogan or license number).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"normal". Weight. One of normal, medium, semibold, bold, extrabold.Optional. Leave it out and the site uses
"small". Size. One of small, normal, large.Optional. Leave it out and the site uses
true. Render the site’s social profiles (configured in the “Social Links” tab) in the footer.Optional. Leave it out and the site uses
"". Optional small heading above the icons (e.g. “Follow us”). Leave empty for none.Optional. Leave it out and the site uses
"brand". In the company column (under the contact details) or as its own centered row above the copyright bar. One of brand, bar.Optional. Leave it out and the site uses
false. A hairline rule above the dedicated social row, for a touch of separation from the watermark.Optional. Leave it out and the site uses
"outline". Icon style. One of bare, outline, solid.Optional. Leave it out and the site uses
"normal". Icon size. One of small, normal, large, xlarge.Optional. Leave it out and the site uses
"normal". Gap between the icons. One of tight, normal, loose.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Optional. Leave empty to match the footer’s other group headings (Footer: Links tab).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Resting icon color. Leave empty for the muted default.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
"brand". Hover to each platform’s own brand color, or to the site accent (or a chosen hover color). One of brand, accent.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Used when “Hover color” is Accent / custom. Leave empty for the site accent.Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Optional. Leave it out and the site uses
false. OFF by default. While off, the server rejects every file submitted through a public form, regardless of the form’s fields. Turn on only after setting the limits below — anonymous file uploads are a deliberate, security-sensitive choice.Optional. Leave it out and the site uses
3. How many files one submission may include (hard ceiling 8). 1 to 8.Optional. Leave it out and the site uses
5. Largest single file accepted, in megabytes (hard ceiling 10 MB). 1 to 10.array<int, Enums\FormUploadAllowedTypes|string>|Collection<int, Enums\FormUploadAllowedTypes|string>|null
Optional. Leave it out (or pass
null) and it isn’t sent: the site’s default applies. Only these categories are accepted. Each file’s actual contents are verified by signature (magic bytes), not just its extension, so a renamed file is rejected. SVG and other script-capable formats can never be enabled here. Each one of image, pdf, office, text.Returns
Returns
A
GlobalContent (Fetchski\AttractCmsLaravel\Data\GlobalContent). The site-wide settings document (one per site and locale), with the fields this site adds. Read its properties ($globalContent->id): each says whether the site always sends it. The example answer is the site’s wire JSON: some keys differ from the property names (_id → id, _logo → logo, _logoLight → logoLight …).Always sent. Change this — to “2”, a date, anything — and every visitor is asked again. Do that whenever what you do with the data materially changes; consent given under the old terms does not carry over.
Always sent. Give this the same visual weight as Accept. A reject option that is harder to find than accept is the single most commonly penalized banner design.
Sometimes sent:
null when the site leaves it out. The _id of the piece/page that was copied to create this document (only present if created via _copyingId)Sometimes sent:
null when the site leaves it out. Shown in the site header on the dark theme (and over the hero). Upload to the Images library first. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Browser tab icon — the default, also used when the browser is in dark mode. Upload a square PNG or SVG (at least 64×64) to the Images library. If empty, the bundled default icon is used. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Optional. Used when the visitor’s BROWSER or device is in light mode — this follows the browser’s color scheme, not the site’s own theme toggle. If empty, the main favicon is used everywhere. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Shown in the footer. Use up to three lines for a full street address, or just one for a town/region.Sometimes sent:
null when the site leaves it out. The registered name of the company, e.g. “Example Holdings LLC”. Fills [Business legal name].Sometimes sent:
null when the site leaves it out. Any other names the business operates under, e.g. “Example Studio and Example Supply”. Fills [Trade names].Sometimes sent:
null when the site leaves it out. Where the business is based, for governing law. Fills [State or region].Sometimes sent:
null when the site leaves it out. Where legal disputes are heard. Fills [County or venue].Sometimes sent:
null when the site leaves it out. The youngest age your website is intended for, e.g. “13”. Fills [Minimum age].Sometimes sent:
null when the site leaves it out. Your main brand color — buttons, links, accents. Hover + soft tints are derived automatically. Leave empty for the built-in design color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Text/icon color shown ON primary-colored buttons. Defaults to white — set a dark color if your primary is pale.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Supporting color — eyebrows, offset shadows, secondary accents.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Body-text link color (rich-text content). Leave empty to track the primary color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Cards and raised panels that sit above the page background.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Primary text color. Mind contrast against the page background.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Positive / confirmation state (forms, alerts).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Typeface used for headings and display type. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Display font — curated pick. One of clash-display, satoshi, general-sans, space-grotesk, bricolage-grotesque, archivo, sora, syne, outfit, unbounded, fraunces, playfair-display, zodiak, sentient; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Sometimes sent:
null when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 500, 700, 800. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).Sometimes sent:
null when the site leaves it out. A list of GlobalFontDisplayUploadsItem. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Sometimes sent:
null when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Typeface used for body text and UI. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Body font — curated pick. One of inter, manrope, public-sans, work-sans, nunito-sans, ibm-plex-sans, source-sans-3, dm-sans, karla, switzer, supreme, satoshi, general-sans, lora, source-serif-4; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Sometimes sent:
null when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 600, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).Sometimes sent:
null when the site leaves it out. A list of GlobalFontBodyUploadsItem. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Sometimes sent:
null when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Typeface used for code blocks and monospace accents. Default is the built-in design font; the other sources replace it site-wide. One of default, curated, cdn, upload; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Accent / mono font — curated pick. One of jetbrains-mono, ibm-plex-mono, fira-code, space-mono, source-code-pro, dm-mono, inconsolata, ubuntu-mono, courier-prime, red-hat-mono, spline-sans-mono, victor-mono; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”.Sometimes sent:
null when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).Sometimes sent:
null when the site leaves it out. A list of GlobalFontAccentUploadsItem. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.Sometimes sent:
null when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. The widest the page content gets: sections, layouts, the header and the footer all line up to it. Smaller screens always use their full width, minus the side margins. One of standard, wide, xwide; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A list of GlobalSocialLinksItem. Each profile is optional — add only the networks you use. A link only appears once it has a URL. Pick a platform for its brand icon, or “Other / custom” to choose any icon.Sometimes sent:
null when the site leaves it out. An ImageArea. Site-wide fallback for link previews (Open Graph): used on any page that has neither its own Social share image nor a featured image. Recommended 1200×630. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area.Sometimes sent:
null when the site leaves it out. Adds schema.org structured data about the business to every page, built from the Brand tab’s business name, address, phone and email plus the Social Links list. Helps search engines show rich results. Nothing is published until this is on and a business name is set.Sometimes sent:
null when the site leaves it out. The schema.org type that best describes the business. “Local business” fits most sites with a physical location or service area. One of LocalBusiness, Organization, ProfessionalService, Store; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Adds the Service Area Map’s coverage (place names, service radius) to the business structured data on every page, and the full zip-code/boundary detail on pages with a Service Area Map section. Helps search engines and AI answers understand where the business serves — there is no visual search result for this, and it never affects map-pack ranking. Keep it consistent with the areas on the business’s Google Business Profile. Demo map data is never published.Sometimes sent:
null when the site leaves it out. Optional, plain words — e.g. “House cleaning” or “Airport transfers”. When set, the structured data pairs it with the service areas as a schema.org Service; when empty the areas attach directly to the business.Sometimes sent:
null when the site leaves it out. Plausible is a privacy-friendly, cookieless analytics service. Visitor page views are counted anonymously; logged-in editors are never tracked. One of none, plausible; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Paste the script address from your site’s snippet in Plausible → Site Settings → Site Installation (it looks like https://plausible.io/js/pa-XXXXXXXX.js and is unique per site). Analytics stay off until this is set. Optional measurements (outbound links, file downloads, form submissions) are toggled in the Plausible dashboard — no change needed here. When set, a URL; empty or null when not.Sometimes sent:
null when the site leaves it out. Off hides the banner AND stops every non-essential cookie and third-party embed — declining is the only safe reading of “never asked”. Turn it off only on a site that sets nothing beyond the strictly necessary.Sometimes sent:
null when the site leaves it out. Where opt-in applies, nothing non-essential runs until the visitor agrees. Everyone else sees the same banner as a notice: analytics and embedded content work immediately, and declining switches them off. The first option follows the law that is strictest about being asked first, without putting a wall in front of visitors whose law does not require one. One of eu, all, notice; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Country comes from your CDN or proxy (Cloudflare’s header, or one you configure). Without it the site falls back to this, plus a browser time-zone check that quietly upgrades an apparently European visitor to opt-in. Put Cloudflare or a GeoIP header in front of the site and this setting stops mattering. One of lenient, strict; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Banner position. One of left, right, center, full; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Opens the per-category preferences panel. Leaving it on is the safer choice: accept-or-reject with no middle option is what regulators have been fining sites over.Sometimes sent:
null when the site leaves it out. A small button pinned to the bottom corner, over the page. Off by default because the footer link below already offers this — turn it on if you want the control visible without scrolling.Sometimes sent:
null when the site leaves it out. Puts the reopen control at the bottom of every page, under the “Powered by” line — where visitors look for it. Uses the reopen label from the Cookie banner wording tab. Leave this on unless the floating button above is on instead: consent must stay as easy to withdraw as it was to give.Sometimes sent:
null when the site leaves it out. GPC is a browser-level “do not sell or share my data” signal, legally binding in several US states. When on, a visitor sending it starts with everything non-essential switched off — they can still turn categories on by hand.Sometimes sent:
null when the site leaves it out. A third-party script that has already run cannot be switched off in place: it keeps running until the next full page load (each vendor is still told about the withdrawal straight away). On, the page reloads as soon as a visitor switches a category OFF, so nothing they declined keeps running. Off by default: the reload interrupts whatever the visitor was doing, and most visitors are not in a region that requires it.Sometimes sent:
null when the site leaves it out. How long a visitor’s answer stands before the banner returns. Six months is the common practice and twelve is the usual ceiling. 1 to 365.Sometimes sent:
null when the site leaves it out. Stores a receipt for each decision (which categories, when, under which policy version) so you can show consent was given. Kept for two years, then deleted automatically.Sometimes sent:
null when the site leaves it out. Optional. Leave empty for the message alone, which is how most banners read best.Sometimes sent:
null when the site leaves it out. Rendered after the message as a link to the policy page. Leave empty to omit it.Sometimes sent:
null when the site leaves it out. A path on this site or a full URL. The default matches the parked Cookie Policy page.Sometimes sent:
null when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Sometimes sent:
null when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Sometimes sent:
null when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Sometimes sent:
null when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.Sometimes sent:
null when the site leaves it out. Shown in place of an embed (a map, a social video) that is waiting on consent.Sometimes sent:
null when the site leaves it out. Takes the public site offline. Visitors and search engines see a “be right back” page (served with the correct temporary-outage signals, so search rankings are preserved); logged-in editors keep the full site and can continue editing. A new site starts with this on: turn it off when the site is ready to go live.Sometimes sent:
null when the site leaves it out. How long search engines should wait before checking back (the Retry-After hint). A rough estimate is fine — it is a hint, not a promise, and nothing switches back automatically. One of 3600, 14400, 43200, 86400, 259200, 604800; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional short message shown on the maintenance page (e.g. what is happening or when you expect to be back). Leave empty for a generic “we’ll be back soon” line.Sometimes sent:
null when the site leaves it out. Public reCAPTCHA v3 site key. Managed automatically from Connections → Spam protection — edit it there, not here.Sometimes sent:
null when the site leaves it out. Whether anonymous page views are being recorded. Managed automatically from Visitor data → Request log — edit it there, not here.Sometimes sent:
null when the site leaves it out. Whether anonymous visitors get the first-party visitor-ID cookie. Managed automatically from Visitor data → Request log — edit it there, not here.Sometimes sent:
null when the site leaves it out. Whether conversions and ad attribution are being recorded. Managed automatically from Visitor data → Conversions — edit it there, not here.Sometimes sent:
null when the site leaves it out. Sites visitors continue to (a booking site), for cross-domain ad attribution. Managed automatically from Visitor data → Conversions — edit it there, not here.Sometimes sent:
null when the site leaves it out. Public (referrer-restricted) Maps JavaScript key — the Service Area Map loads Google Maps with it. Managed automatically from Connections → Google Maps — edit it there, not here.Sometimes sent:
null when the site leaves it out. Master switch for the site’s scroll and entrance motion (section reveals, count-ups, marquees, the hero). When off, no animation code is loaded and every section appears in its final, static state. Visitors whose device requests reduced motion always get the static experience regardless of this setting.Sometimes sent:
null when the site leaves it out. A DesignLayer. Site-wide CSS for every section of a type and for shared elements (buttons, the header, the footer…). Type into the slot of the part you want to style; a section’s own CSS tab wins over this.Sometimes sent:
null when the site leaves it out. Floating rests transparent over the hero and morphs to glass on scroll; Glass is frosted from the top; Solid is an opaque bar (uses the bar background color). One of floating, glass, solid; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Island floats as a contained pill; Full width spans edge-to-edge (squared corners, content still centered). Full width ignores the corner radius below. One of island, full; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Applies to the Island bar (Full width is always squared). One of pill, rounded, slight, square; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. The bar fill for Glass / Solid styles (and the glass tint when scrolled). Leave empty to use the raised surface color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A hairline outline around the bar (shown when glass / solid / scrolled).Sometimes sent:
null when the site leaves it out. A soft drop shadow under the bar (when glass / solid / scrolled).Sometimes sent:
null when the site leaves it out. The bar slides away when scrolling down and returns when scrolling up.Sometimes sent:
null when the site leaves it out. The floating bar stays transparent at the top and becomes a glass pill once the page scrolls. Turn off to keep it transparent.Sometimes sent:
null when the site leaves it out. Keeps the whole navbar (bar, logo, wordmark, links, dropdown, button and mobile menu) in its dark-theme look even when a visitor switches to the light theme, e.g. a header that always sits over a dark hero photo. While on, the light-theme header colors and the light-theme logo are not used. Off follows the site theme.Sometimes sent:
null when the site leaves it out. Below this width the links collapse into the mobile menu (hamburger). Raise it if you have many or long links. One of md, lg, xl; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Logo height. One of small, medium, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A subtle tilt + scale when the cursor is over the logo lockup.Sometimes sent:
null when the site leaves it out. The business name in type beside the logo. Turn off when the logo already includes the name.Sometimes sent:
null when the site leaves it out. Optional override of the text wordmark. Leave empty to use the business name.Sometimes sent:
null when the site leaves it out. Render the first word large and the rest as a small tracked-out caption beneath it. Off renders the whole wordmark on one line.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A list of GlobalHeaderNavItem. Header navigation.Sometimes sent:
null when the site leaves it out. Label for the overflow dropdown that holds links placed in “More”.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. How the hovered / active link is marked. One of sweep, grow, pill, none; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Leave empty to use the site accent color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Color + indicator for the current page’s link. Leave empty to use the secondary (mint) color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. The visible button text. Leave empty to hide the button.Sometimes sent:
null when the site leaves it out. Where the button goes — a path (/blog) or full URL.Sometimes sent:
null when the site leaves it out. Opens the link in a new browser tab (adds rel=“noopener noreferrer”).Sometimes sent:
null when the site leaves it out. Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of solid, outline, soft, link; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Button size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Corner radius. One of pill, rounded, slight, square; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. The text/icon color. Clear it to derive from the button color (readable on solid fills).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Optional. Drives the hover treatment. Leave empty to derive it from the button color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of none, single, dual, glow, sweep, thicken; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Hover motion. One of lift, scale, lift-scale, none; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.Sometimes sent:
null when the site leaves it out. Icon family. One of classic-regular, duotone-regular, brands, jelly, jelly-duo, whiteboard; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Which side of the label the icon sits on (when an icon name is set). One of before, after; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. The icon slides toward its side on hover (e.g. an arrow edges outward).Sometimes sent:
null when the site leaves it out. Drawer side. One of right, left; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Drawer width. One of narrow, normal, wide; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Leave empty to use the site surface color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Repeat the header button at the bottom of the mobile drawer.Sometimes sent:
null when the site leaves it out. A small animated hint shown when the menu links overflow.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Leave empty to use the site accent color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Site default keeps the footer’s sunken surface; Solid color and Image override it. The site surface color is the fallback when a color is left empty. One of default, solid, image; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Used for a Solid background (and as the fallback behind an Image). Leave empty to use the site surface color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. An ImageArea. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area. Its fields are listed under the first ImageArea above.Sometimes sent:
null when the site leaves it out. Scrim over the image to keep the footer legible. Leave empty to use the surface color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Overlay opacity (%). 0 to 100.Sometimes sent:
null when the site leaves it out. Vertical padding. One of tight, normal, roomy; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A hairline rule along the top edge of the footer.Sometimes sent:
null when the site leaves it out. Show “Back to top” button.Sometimes sent:
null when the site leaves it out. Optional logo shown at the top of the company column, used on the dark theme. Leave both footer logos empty to use the site logo (Site settings → Brand); with no logo at all the business name leads. Upload to the Images library first. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related @apostrophecms/image documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.Sometimes sent:
null when the site leaves it out. Logo height. One of small, medium, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Aligns the logo within the company column (e.g. centered above the business name). One of left, center, right; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. The business name as a heading at the top of the column. Turn off when the logo already carries the name.Sometimes sent:
null when the site leaves it out. Show tagline.Sometimes sent:
null when the site leaves it out. Show address, phone & email.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A list of GlobalFooterLinkGroupsItem. Each group becomes a column in the footer. Add a Legal group for Terms & Privacy, etc.Sometimes sent:
null when the site leaves it out. How many columns the link groups flow into. Auto fits to the available width; a fixed count packs shorter groups together (e.g. Legal stacked under Elsewhere). Groups are never split across columns. One of auto, 2, 3, 4; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large, xlarge; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Leave empty to use the site accent color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Hover effect. One of none, slide, underline; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A slow ribbon of phrases scrolling across the top of the footer. Any page can override this for itself in Page Settings → Footer.Sometimes sent:
null when the site leaves it out. A list of GlobalFooterMarqueeItem. Each phrase can carry its own icon; without one, a dot separates it from the next phrase.Sometimes sent:
null when the site leaves it out. Marquee speed. One of slow, normal, fast; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Adds a small, unobtrusive pause/play control so visitors can stop the auto-playing background motion (WCAG 2.2.2). Only appears when a moving background is set.Sometimes sent:
null when the site leaves it out. Optional. Leave empty for the muted default.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A giant outlined word along the bottom of the footer. Reveals/fills on hover.Sometimes sent:
null when the site leaves it out. Keep it to one short word — it renders at display size. Leave empty to use the business name.Sometimes sent:
null when the site leaves it out. Watermark size. One of display, large, medium; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Watermark alignment. One of left, center, right; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Outlined letters that fill on hover one at a time, all at once, or always-solid (no ghost effect). One of letter, word, solid; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Overrides the wordmark fill + outline tint. Leave empty to track the theme’s text color.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Type {year} where this year goes (it updates itself every January) and {business} for the business name. Left empty, the site shows “© {year} {business}. All rights reserved.”Sometimes sent:
null when the site leaves it out. Optional short line shown beside the copyright (e.g. a slogan or license number).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Size. One of small, normal, large; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Render the site’s social profiles (configured in the “Social Links” tab) in the footer.Sometimes sent:
null when the site leaves it out. Optional small heading above the icons (e.g. “Follow us”). Leave empty for none.Sometimes sent:
null when the site leaves it out. In the company column (under the contact details) or as its own centered row above the copyright bar. One of brand, bar; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. A hairline rule above the dedicated social row, for a touch of separation from the watermark.Sometimes sent:
null when the site leaves it out. Icon style. One of bare, outline, solid; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Icon size. One of small, normal, large, xlarge; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Gap between the icons. One of tight, normal, loose; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Optional. Leave empty to match the footer’s other group headings (Footer: Links tab).Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Resting icon color. Leave empty for the muted default.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. Hover to each platform’s own brand color, or to the site accent (or a chosen hover color). One of brand, accent; a newer site may send others, so keep a fallback.Sometimes sent:
null when the site leaves it out. Used when “Hover color” is Accent / custom. Leave empty for the site accent.Sometimes sent:
null when the site leaves it out. A CSS color (#625bff, #625bffff, rgb(…), hsl(…), a color name) or a palette token’s name (--fetchski-accent).Sometimes sent:
null when the site leaves it out. OFF by default. While off, the server rejects every file submitted through a public form, regardless of the form’s fields. Turn on only after setting the limits below — anonymous file uploads are a deliberate, security-sensitive choice.Sometimes sent:
null when the site leaves it out. How many files one submission may include (hard ceiling 8). 1 to 8.Sometimes sent:
null when the site leaves it out. Largest single file accepted, in megabytes (hard ceiling 10 MB). 1 to 10.Sometimes sent:
null when the site leaves it out. Only these categories are accepted. Each file’s actual contents are verified by signature (magic bytes), not just its extension, so a renamed file is rejected. SVG and other script-capable formats can never be enabled here. Each one of image, pdf, office, text.Sometimes sent:
null when the site leaves it out. The draft’s preview share key, while its share link is on: the link is the draft’s _url with aposShareKey and aposShareId (the draft’s _id) in its query. Absent otherwise, and on published documents.Always there:
[] when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list ({}, {"0": …}) is a stdClass, so it is sent back as an object.Errors
Errors
Nothing to catch: the SDK retries what is safe, and Laravel logs and renders the rest (see Errors and testing).
The site refused what was sent:
errors() lists each field’s problem, siteMessage() the first.Retried first: No. Read: errors() (field → messages), siteMessage().The API key is missing or refused (malformed, revoked, expired), or a signature its signing mode needs is missing or stale.Retried first: No. Read:
siteMessage(), errorName(), data().The key may not do this: a scope it lacks, or an address outside its allowlist.
siteMessage() names it.Retried first: No. Read: siteMessage(), errorName(), data().Nothing matches, or the caller may not see it.Retried first: No. Read:
siteMessage(), errorName(), data().The site failed. Its logs say why.Retried first: No: a write may have landed. Read:
siteMessage(), errorName(), data().No answer: DNS, a refused connection, TLS, or the timeout (15 s per attempt by default).Retried first: Only when nothing reached the site (
neverConnected()); never after a timeout, when it may have landed. Read: reason(), neverConnected().The client refused to send it (e.g. a path segment of
..); the site never saw it.Retried first: No. Read: reason() (what to change).Any other status, or a success whose JSON doesn’t match this SDK version’s types (update the SDK).Retried first: No. Read:
reason(), status().Attract::site('acme') named a slug that isn’t under sites in config/fetchski-attract.php.Retried first: No: nothing was sent. Read: getMessage(), $e->slug.Behavior
- Access: an API key with
global:write(or a master above it:global:all,admin:all). In published mode (the default) it goes live too, so the key also needsglobal:publish(or a master above it); sendaposMode=draft(or a draft_idand noaposMode) to change only the draft. Custom CSS fields also needglobal:css. A signed-in person may call it as far as their own permissions allow; anyone else gets 403. - Rate limit: the key’s own writes-per-minute limit, set when the key is created (default 120); over it, 429 with
Retry-After. The client waits and retries for you; you seeRateLimitedonly if that runs out. - Retries: a write is sent again only after a 429 (refused before it acted) or when it never reached the site. After a timeout or a 5xx it may have landed: check before you send it again.
- Timeout: 15 s per attempt by default; raise
timeoutinconfig/fetchski-attract.phpfor longer.
Test it
It calls the route above with the SDK faked: the fake answers every call with a valid example, so nothing leaves your machine and no config or key is needed. Save it astests/Feature/ReplaceGlobalTest.php, then run your tests:
tests/Feature/ReplaceGlobalTest.php
Terminal
globalContent.replaceGlobal with GlobalContent::factory()->make([...]), the fields you give over a valid example.
tests/Feature/ReplaceGlobalAnswerTest.php
Related
List global documents
Attract::globalContent()->listGlobalContent()Create a global document
Attract::globalContent()->createGlobal()Archive global documents
Attract::globalContent()->archiveGlobals()Copy global documents to another locale
Attract::globalContent()->localizeGlobals()Publish global documents
Attract::globalContent()->publishGlobals()Restore global documents
Attract::globalContent()->restoreGlobals()PUT /@apostrophecms/global/{_id}
The endpoint this calls, in the API reference: the HTTP request and answer, and every rule the site checks.