RightMessage
Hugo logo
Site compatibilityJavaScript Framework

Add personalization to your Hugo application.

Hugo builds blazing-fast static websites with incredible speed. 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 Hugo site.

Start here

Add RightMessage to your existing Hugo setup.

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

Using RightMessage with Hugo.

Smart opt-in forms that adapt to context

Show different lead magnets based on what visitors are reading on your Hugo 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 Hugo 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 Hugo 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 Hugo.

  • Add the RightMessage script to your baseof.html layout in the head section
  • Hugo generates static HTML, so no special SPA handling is needed
  • Connect RightMessage to your email platform for subscriber-based personalization
  • Hugo's fast builds pair well with RightMessage's client-side personalization
  • Use quizzes to segment visitors before they subscribe

Frequently asked questions.

How do I install RightMessage on Hugo?+

Add the RightMessage script to your layouts/_default/baseof.html in the head block. All pages using this base layout will include the script automatically.

Does Hugo need RightMessage.reset()?+

No. Hugo 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 Hugo content types?+

Yes. RightMessage personalizes whatever HTML Hugo generates. Content from any content type, taxonomy, or data file can be personalized client-side.

Does personalization affect Hugo build times?+

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

Can I use RightMessage with Hugo modules?+

Yes. RightMessage works with any Hugo setup. Add the script to your theme or directly to your site layouts. Modules and themes work the same way.

How do I add RightMessage to my Hugo site?+

Add a small JavaScript snippet to your Hugo 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 Hugo?+

While Hugo 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 Hugo 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 Hugo?+

You can personalize any text, images, or content sections on your Hugo 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 Hugo's built-in forms?+

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

Ready to launch?

Start personalizing your Hugo experience.

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