Add a changelog widget to your Shopify store
Lytmark is an in-app changelog, public roadmap and feature-voting widget for SaaS products and web apps. Add a “What’s new” panel, an ideas box and roadmap voting to your product with one line of code, for a flat monthly price with no per-user limits.
This guide adds it to a Shopify store by pasting one line into your theme’s theme.liquid layout. You’ll get a “What’s new” panel with an unread badge and one-tap reactions on every update. On Pro, the same widget also gets Roadmap and Ideas tabs.
Before you start
- A free Lytmark accountSign up at app.lytmark.com. No card needed.
- Your project IDIt’s on the Install page of your dashboard, already filled into the snippet.
- About 5 minutesOne line of code, pasted once for the whole site.
Install steps
PathOnline StoreThemes⋯Edit codetheme.liquid→ paste above </body>Save
-
Copy your snippet
In your Lytmark dashboard, open Install and copy the snippet. Your project ID is already filled in there; in the examples on this page it’s
YOUR_PROJECT_ID.<script src="https://api.lytmark.com/widget.js" data-id="YOUR_PROJECT_ID"></script> -
Open Edit code
Online Store → Themes, click ⋯ next to your current theme, then Edit code.
Current theme⋯ -
Open theme.liquid
In the Layout folder open
theme.liquidand paste the line right above</body>. Don’t delete anything.Layout theme.liquid Sections Snippets<script src="…widget.js"…</body> -
Save
Then open your store once.
Use your own button
Prefer a link in your menu over the round button? Add the attribute data-lytmark-trigger to any button, link or menu item. If your theme doesn’t let you add an attribute to that element, add an HTML or embed block with this button:
<button data-lytmark-trigger>What's new</button>
On pages that have a trigger the round button hides by itself. To hide it on every page, add data-position="none" to the snippet in your theme.liquid. While there are unread posts, the widget sets data-lytmark-unread on your element, so you can style your own dot.
Check that it works
Open the Install page in your Lytmark dashboard. The first time the widget loads on your site, its status turns green: Live on followed by your site’s host. On your site, the round button appears in the corner you picked in the dashboard (bottom right by default); click it to open the “What’s new” panel.
Using data-consent="pending" or data-track="false"? Then the check waits too: the widget reports your host only once tracking is allowed.
Not showing up?
You saved, but didn’t publish
Shopify only shows custom code on the live site. Publish, then open the live URL, not the editor preview.
Your browser shows an old version
Hard-refresh (Ctrl/⌘ + Shift + R) or open the site in a private window. If you use a CDN or cache plugin, purge it.
The code is only on one page
Put it in the shared layout, footer or site-wide settings so every page loads it. The status turns green as soon as any page with the code is opened.
An ad blocker or privacy extension hides it
Try a private window with extensions off. Most visitors don’t block it; this mostly affects your own browser.
Your site has a Content Security Policy
Allow https://api.lytmark.com in script-src and connect-src. Post images come from api.lytmark.com and media.lytmark.com.
script-src 'self' https://api.lytmark.com;
connect-src 'self' https://api.lytmark.com;
img-src 'self' https://api.lytmark.com https://media.lytmark.com;
Videos in posts also need frame-src; see the full list.
Shopify changelog widget FAQ
Does it work with any theme?
Yes. Every Shopify theme has a theme.liquid layout, and the line above </body> puts the widget on every storefront page that uses it. Shopify’s checkout doesn’t use theme.liquid, so the widget doesn’t show there.
What happens when I update or switch my theme?
Code edits stay with the theme you edited. After you switch themes or install an update as a new theme copy, add the line to its theme.liquid again.
Do customers need an account to react?
No. Reactions take one tap, with no sign-up.
Will it slow down my store?
The snippet adds a small loader, which loads the widget asynchronously. The widget is under 30 KB gzipped and draws inside Shadow DOM, so your styles and its styles never touch.
Add Lytmark to Shopify today.
Free plan, no card. Live in about five minutes.