RightMessage
Eleventy logo
Site compatibilityJavaScript Framework

Add personalization to your Eleventy application.

Eleventy generates simple, fast static sites from various template languages. RightMessage adds personalization based on visitor segments from your email platform. Show different content to different audiences, personalize CTAs and messaging, and create dynamic experiences on your static Eleventy site.

Start here

Add RightMessage to your existing Eleventy setup.

Keep Eleventy in place and use RightMessage to personalize its existing pages for each visitor.

Using RightMessage with Eleventy.

Smart opt-in forms that adapt to context

Show different lead magnets based on what visitors are reading on your Eleventy site. Hide opt-in forms from existing subscribers and show upgrade paths instead.

Increase conversion rates with contextually relevant offers.

Dynamic headlines, CTAs, and content

Personalize any text on your Eleventy site based on visitor segments, traffic source, or behavior. Show relevant testimonials, case studies, and social proof.

No code required. Just add CSS classes to elements you want to personalize.

PPC landing page personalization

Match your Eleventy landing page content to ad campaigns using UTM parameters. One page can serve unlimited ad variations.

Improve ad relevance scores and conversion rates with automatic message matching.

Setup tips for RightMessage on Eleventy.

  • Add the RightMessage script to your base layout template (Nunjucks, Liquid, etc.)
  • Eleventy generates static HTML, so no special SPA handling is needed
  • Connect RightMessage to your email platform for subscriber-based personalization
  • Static pages load fast, then RightMessage personalizes content client-side
  • Use quizzes to segment visitors and personalize their experience

Frequently asked questions.

How do I install RightMessage on Eleventy?+

Add the RightMessage script to your base layout template in the head section. Eleventy generates static HTML pages, so the script will be included on every page that uses that layout.

Does Eleventy need RightMessage.reset()?+

No. Eleventy generates traditional multi-page static sites. Each page load is a full navigation, so RightMessage automatically applies personalizations without needing reset calls.

Can I personalize Eleventy content collections?+

Yes. RightMessage personalizes whatever HTML Eleventy generates, regardless of content source. Data from collections, markdown files, or any source can be personalized.

Does personalization affect Eleventy build times?+

No. RightMessage runs entirely client-side. Your Eleventy build process stays the same. Personalization applies after static pages load in the browser.

Can I use RightMessage with Eleventy serverless?+

Yes. RightMessage works on any page where the script loads, including serverless-rendered pages. The personalization happens in the browser, not during rendering.

How do I add RightMessage to my Eleventy site?+

Add a small JavaScript snippet to your Eleventy site, similar to adding Google Analytics. You can also install our npm package for tighter integration. Installation typically takes 5 minutes or less.

Can I personalize without writing code on Eleventy?+

While Eleventy is a framework that requires code, RightMessage provides a simple JavaScript API and React/Vue components that make personalization straightforward.

Will RightMessage slow down my Eleventy site?+

No. The RightMessage script loads asynchronously and doesn't block page rendering. Personalizations are applied after the initial page load. The script is served from a global CDN and is highly optimized. Your Core Web Vitals and page speed scores remain unaffected.

What elements can I personalize on Eleventy?+

You can personalize any text, images, or content sections on your Eleventy site. Common personalizations include headlines, CTAs, testimonials, case studies, pricing displays, and entire page sections. You can also show/hide elements and redirect visitors based on segments.

Does RightMessage work with Eleventy's built-in forms?+

RightMessage provides its own widgets (popups, slide-ins, inline forms, sticky bars) that you can embed on your Eleventy site. You can also personalize Eleventy's native forms by showing/hiding them based on visitor segments or personalizing the surrounding content.

Ready to launch?

Start personalizing your Eleventy experience.

Keep Eleventy in place and add personalized copy, proof, forms, and offers without rebuilding your site.