Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The site-settings assets asset (located at /_site/site-settings) contains information about your site as a whole. Configuring these settings is required for your site to function and display properly.

Info

Changes made to the site settings can be made live by simply publishing the site-settings asset. No need to republish your entire site.

Note

The site-settings asset must be published for pages to display correctly.

Defining your site name

Your site name is used to in the header/footer wordmarks and to display page titles in the browser tab. Longer names can be split on to two lines, but only the first line is required.

In addition to the name of your site, you also choose how your site is branded (UCI vs. UCI Health). This selection also determines how your wordmark and page titles appear.

...

Adding analytics

The template supports the inclusion of Google Analytics directly or via Google Tag Manager. To add analytics, provide your Google Analytics UA property ID (beginning with “UA-”) or Tag Manager container ID (beginning with “GTM-”).

...

Note

Google’s Universal Analytics service will be retired in 2023. Soon after that happens, the ability to use a UA property ID here will be removed. Usage of a Google Tag Manager container ID will be unaffected.

Info

Using some analytics solution other than Google’s Universal Analytics (Siteimprove, GA4, etc.)? Need to include multiple analytics properties or platforms? Set that all up to taste in Google Tag Manager and reference the GTM container ID here.

Adding custom site-wide CSS and JavaScript

You can reference custom CSS and JavaScript files site-wide in this portion of your site settings. These references are defined by the Custom CSS and Custom JavaScript patterns, respectively.

...

→ Details: Custom CSS pattern

...

→ Details: Custom JavaScript pattern