Eleventy-based static site starter
eleventy-amp-starter — Eleventy Starter Template
By j-e-clark
An Eleventy-based starter site that integrates AMP and Sass plugins, with optional Google Analytics and Google Tag Manager consent prompts.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 2
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Integrates AMP and Sass plugins
Includes a basic cookie consent prompt for optional analytics tracking
Supports Google Analytics with a UA tracking ID via GA_ANALYTICS_ID
Supports Google Tag Manager via GTM_ID, and GTM takes precedence when both are present
Template Details
This is an Eleventy starter template for building static sites that use both AMP and Sass. The repository description states that it integrates AMP and Sass into the Eleventy build process via plugins, and includes a basic cookie consent prompt for optional Google Analytics tracking.
For analytics configuration, the template supports adding Google Analytics with a UA tracking ID via the environment variable GA_ANALYTICS_ID; it also supports adding Google Tag Manager via GTM_ID. If both variables are provided, Tag Manager takes precedence.
The template is released under the MIT license, and this version of the code may be used, modified, used commercially, and distributed for free; when distributing, the copyright notice and the full MIT license notice must be retained. Third-party assets such as images, fonts, and icons in the demo pages must be checked separately for licensing; external services such as domains and hosting may incur separate charges.
Is it right for your project?
Use Cases
- Starting a project that needs to build AMP pages with Eleventy while also using Sass
- Sites that want a built-in optional analytics tracking consent prompt in a static site
- Deployments that need to switch between Google Analytics or Google Tag Manager via environment variables
Suitable For
- Developers familiar with Eleventy who need a combination of AMP and Sass
- Front-end projects that need a lightweight static site starter template
- Sites that want to control analytics script loading and consent prompts themselves
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Add Google Analytics (UA tracking ID) via the environment variable GA_ANALYTICS_ID
- 2
Add Google Tag Manager via the environment variable GTM_ID; when both are provided, GTM takes precedence
- 3
When using this version of the code, retain the original author's copyright notice and the full MIT license notice
- 4
Third-party assets such as demo images, fonts, and icons must be checked separately under their respective licenses
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis listing covers the free version under the MIT license in a public repository; the free scope is this version of the code and does not mean external services or third-party assets are free.
Must comply with when using
- This version of the code may be used, modified, used commercially, and distributed for free.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- Using Google Analytics tracking requires setting the environment variable GA_ANALYTICS_ID yourself and depends on Google's external service; that service may be subject to regional regulations, account requirements, and privacy compliance requirements.
- Using Google Tag Manager requires setting the environment variable GTM_ID yourself and depends on Google's external service; if GA_ANALYTICS_ID is also provided, GTM takes precedence and the GA configuration is ignored.
- Demo images, fonts, icons, and other third-party assets must be checked under their respective licenses and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
Setting GA_ANALYTICS_ID adds Google Analytics tracking using a "UA" tracking ID.
Original README
https://github.com/j-e-clark/eleventy-amp-starter/blob/main/LICENSEhttps://github.com/j-e-clark/eleventy-amp-starter/blob/main/README.mdSetting GTM_ID adds Google Tag Manager using a "GTM" ID. Tag Manager takes precedence if both are provided.
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-03. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- Partly documented · 65 / 100
- Technologies
- Eleventy
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2022-08-08
- Screenshot last checked
- 2026-10-03
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Eleventy as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Review declaration: [email protected] · 2026-10-04
Inspect the recorded source material
SHA-256: f79a5a7b86b66938ea67a15f713648fc6eddeaf0c3e4586f59e0def901ad4082
2026-10-03T18:46:01.841Z
Source file / repository# eleventy-amp-starter [](https://app.netlify.com/sites/eleventy-amp-starter/deploys) Starter site using Eleventy with AMP and Sass plugins plus basic cookie consent for optional Google Analytics. ## Environment Variables Setting GA_ANALYTICS_ID adds Google Analytics tracking using a "UA" tracking ID. Setting GTM_ID adds Google Tag Manager using a "GTM" ID. Tag Manager takes precedence if both are provided.
Explore similar templates
Compare previews and descriptions within the same stack and category.

eleventy-base-blog
The officially maintained Eleventy blog starter template, MIT licensed, includes posts, tag pages, archives, an about page, a 404 page, an Atom feed, and sitemap.xml, with per-page CSS bundling, syntax highlighting, and image optimization.
Eleventy · Blog

eleventy-garden
An Eleventy-based digital garden starter template for building a personal knowledge site organized through hyperlinks. It supports Roam-style double-bracket links, backlink display, and hover cards for backlinks.
Eleventy · Starter

eleventastic
Eleventastic is an Eleventy starter kit by Max Böck, used as the base for new 11ty projects. It integrates Sass, Webpack, SVG icon sprites, critical CSS, and HTML minification into the 11ty build without external steps.
Eleventy · Starter

neat-starter
An Eleventy-based static site starter template integrating Netlify CMS, Alpine.js, and Tailwind CSS. It provides a ready-to-run example site, a one-click Netlify deploy button, and an MIT-licensed codebase.
Eleventy · Starter

Eleventy-Starter-Boilerplate
An Eleventy-based blog starter template with Tailwind CSS, Webpack, PostCSS, ESLint, and Prettier, optional Netlify CMS, and built-in SEO metadata, sitemap, and 404 page.
Eleventy · Blog

eleventy-plus-vite
A static site starter combining Eleventy and Vite, with a live-reloading development server, Vite-based production post-processing, a PostCSS pipeline with Autoprefixer and cssnano, critical CSS inlining and asynchronous CSS loading, a web font loading strategy example, fluid typography, basic dark mode, an…
Eleventy · Starter
