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.

Plugin

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.

  • Category: Integrations
  • Status: available
  • Version: 0.1.2
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-01
  • Compatibility: EmDash ^1.0.1
  • Maintainer: jithins

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:

npm install emdash-header-footer-code

Register the plugin in your Astro config:

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

Details