# Header & Footer Code Snippets

> Add custom code snippets (analytics, verification tags, chat widgets, CSS/JS) to the head or body of EmDash pages — no theme edits.

Source: https://emdashcmseverything.com/plugins/header-footer-code-snippets/

- Category: Integrations
- Status: available
- Version: 0.1.2
- Price: Unknown
- Compatibility: EmDash ^1.0.1
- License: MIT
- Maintainer: jithins
- Download: https://www.npmjs.com/package/emdash-header-footer-code
- Documentation: https://emdash-code.jithins.dev
- Repository: https://github.com/jithinsk/emdash-header-footer-code
- Published: 2026-11-01

Add custom code snippets (analytics, verification tags, chat widgets, CSS/JS) to the head or body of EmDash pages — no theme edits.

## Installation

Install the package from npm:

```bash
npm install emdash-header-footer-code
```

Register the plugin in your Astro config:

```js
// astro.config.mjs
import { headerFooterCode } from "emdash-header-footer-code";
export default defineConfig({
  integrations: [emdash({ /* … */ plugins: [headerFooterCode()] })],
});
```

## Details

- **Latest version:** 0.1.2
- **License:** MIT
- **Publisher:** jithins
- **Requires:** EmDash `^1.0.1`
- **Source repository:** [https://github.com/jithinsk/emdash-header-footer-code](https://github.com/jithinsk/emdash-header-footer-code)
- **npm package:** [emdash-header-footer-code](https://www.npmjs.com/package/emdash-header-footer-code)
