> For the complete documentation index, see [llms.txt](https://documentation.siteglide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.siteglide.com/site-manager/code-snippets-includes.md).

# Code Snippets (Includes)

Code Snippets are also referred to more globally as Includes because they're files that can be included in Pages, Templates, Headers/Footers etc. They're useful for things like external Javascript for Google Analytics as an example or Cookie Consent as in our Template Site:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-991bbbbe6bbd4dfce2f70ba00c6397c390ae733b%2FSiteglide-Site-Manager-Code-Snippets.png?alt=media" alt=""><figcaption></figcaption></figure>

They can be edited in Admin to leverage the Toolbox functionality or via CLI:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-bbebe00ddc97ea15b7ad66f07fa5b7e36c5733cc%2FSiteglide-Site-Manager-Code-Snippet-Edit.png?alt=media" alt=""><figcaption></figcaption></figure>
