For coffee sellers · Demo
Your recipe, on every shopper’s grinder
You dial each coffee in on your grinder. Your customers own 200+ others. This goes on the product page and turns your setting into theirs, so the first cup from the bag tastes the way you meant it to.
Set it up for one coffee
Enter the grinder and setting you use, then try it as a shopper would: pick a grinder and a brew method in the preview. It is the real widget running on this page.
Your recipes for this coffee
Methods you don’t add get BrewMark’s starting point, labelled as ours.
Shown to shoppers who say they don’t have a grinder.
Live preview
Your snippet
<div data-brewmark-dialin
data-coffee="Ethiopia Guji Natural"
data-recipes='[{"method":"pourover","grinder":"comandante-c40-mk4","setting":24,"recipe":"15 g coffee · 250 g water · 3:00"},{"method":"espresso","grinder":"comandante-c40-mk4","setting":10,"recipe":"18 g in · 40 g out · 28–30 s"}]'
data-accent="#1D3557"
data-shopify-cart="true">
<a href="https://brewmark.io/tools/grind-converter">Grind settings by BrewMark</a>
</div>
<script src="https://brewmark.io/dial-in-widget.js" async></script>What your shopper gets
A setting their dial actually has
Stepped dials snap to a real mark ("4 + 2 marks" on a Fellow Ode). Stepless dials show their own precision. Where we do not yet know a dial’s steps, the widget says to use the nearest mark.
No setting for a method the grinder cannot do
Pick espresso on a Fellow Ode and the widget says Fellow does not make it for espresso, instead of printing a number.
Their grinder, remembered
They choose it once. Every other coffee in your store opens with their setting already showing.
Every way they brew
Your recipes come first. Pour over, espresso, AeroPress, drip, French press, cold brew and moka pot get BrewMark’s starting point, labelled as ours, unless you set your own.
Something useful without a listed grinder
Not listed: the texture to aim for, and a way to ask us to add it. No grinder at all: which grind to order, and a link to the grinders you sell.
What you learn about your customers
Which grinder each shopper brews on, and which shoppers have none: the ones you can sell a grinder to. It is delivered to your own systems. BrewMark never sees who they are: our API is asked for a grinder’s setting, and that is all it receives.
On the order
With data-shopify-cart="true", the grinder and brew method are saved as cart attributes. They show under the order’s additional details and can go into your emails.
In your analytics
A brewmark_dialin event goes to your dataLayer, so GA4 or Tag Manager can report grinders and methods. Turn it off with data-datalayer="false".
In your email tool
With data-klaviyo="true", the grinder is added to the shopper’s Klaviyo profile, ready to segment.
In your own code
A brewmark:dialin event fires on the page with the grinder, method, setting and coffee.
On Shopify
Add the snippet to your product template once. Every coffee then shows BrewMark’s starting points for seven brew methods straight away, and your own recipe wherever you add one. Change data-grinder-url to the page where you sell grinders.
1. Add the snippet to the product template
In the theme editor, add a Custom Liquid block under the buy buttons and paste this.
{%- assign bm = product.metafields.brewmark.recipes.value -%} <div data-brewmark-dialin data-coffee="{{ product.title | escape }}" {% if bm %}data-recipes='{{ bm | json | escape }}'{% endif %} data-grinder-url="/collections/grinders" data-shopify-cart="true"> <a href="https://brewmark.io/tools/grind-converter">Grind settings by BrewMark</a> </div> <script src="https://brewmark.io/dial-in-widget.js" async></script>2. Give each coffee your recipe
Create a product metafield
brewmark.recipesof type JSON, and fill it in per coffee. Grinder names are the slugs from the builder above.[ { "method": "pourover", "grinder": "comandante-c40-mk4", "setting": 24, "recipe": "15 g coffee · 250 g water · 3:00" }, { "method": "espresso", "grinder": "comandante-c40-mk4", "setting": 10, "recipe": "18 g in · 40 g out · 28–30 s" } ]3. Optional: put their grinder in your emails
In Settings → Notifications, add this to the order confirmation or shipping template.
{%- if attributes.Grinder -%} <p>You brew on a {{ attributes.Grinder }}. Your setting for each coffee is on its page at {{ shop.url }}.</p> {%- endif -%}
For developers
Listen for the event, or call the API behind the widget directly.
document.addEventListener('brewmark:dialin', function (e) {
// e.detail: { grinder, grinderName, method, methodLabel, setting, coffee }
console.log(e.detail.grinderName, e.detail.setting);
});GET https://brewmark.io/api/widget/dial-in?to=fellow-ode-gen-2&r=pourover:comandante-c40-mk4:24
GET https://brewmark.io/api/widget/dial-in?to=baratza-encore&m=pourover,frenchpressClient-rendered storefronts can call BrewMarkDialIn.mount() after the container is on the page.
Pilot
Get it on your store
We are setting it up with a small group of roasters first, and we will enter your recipes with you. Tell us about your store.
Get it on your store →Already embed the free grind lookup?
It keeps working, and it stays free: readers pick their grinder and see the setting for every brew method. Keep the BrewMark link in the snippet; that is the whole licence.
<div data-brewmark-grind>
<a href="https://brewmark.io/tools/grind-converter">Grind size converter by BrewMark</a>
</div>
<script src="https://brewmark.io/grind-widget.js" async></script>