ActionLab Analytics for Eleventy (11ty)

Add privacy-first, AI-powered analytics to your Eleventy (11ty) site in under 60 seconds. No cookies, no consent banners, no complex setup.

Installation Code

Eleventy (11ty)
<!-- Add to your base layout template -->
<script
  src="https://cdn.actionlabanalytics.com/actionlab.js"
  data-site="YOUR_SITE_ID"
  defer
></script>

Step-by-Step Setup

  1. 1

    Open your base layout template (e.g., _includes/base.njk or base.liquid).

  2. 2

    Add the ActionLab script tag in the <head> section.

  3. 3

    Replace YOUR_SITE_ID with your actual site ID.

  4. 4

    Build and deploy. Works with Nunjucks, Liquid, and all Eleventy template engines.

Why Use ActionLab with Eleventy (11ty)

  • Works with all Eleventy template engines
  • Static site compatible
  • Minimal footprint matches 11ty philosophy
  • No Eleventy plugin needed

Frequently Asked Questions

Is there an Eleventy plugin for ActionLab?

No plugin is needed. A simple script tag in your base layout template is all it takes.