With snippets for Azure Static Web Apps, you can specify code that will be injected into each page of your website without having to change your source code. When providing your snippet, you can indicate whether to append or prepend the snippet to the head or the body or your pages.
Common use cases of snippets include:
- Analytics scripts
- Common scripts
- Global UI elements