Moyo
Sign inGet started
Getting started

Quickstart

Add Moyo to a web app in about five minutes. You need a publishable key from the dashboard.

1. Add the script

Place the script on every page where a check-in may appear. It loads asynchronously and does nothing until a session is sampled.

html
<script src="https://moyo.3sb.io/v1/moyo.js"
        data-key="pk_live_your_key"
        async></script>

2. Mark the start of a session

Moyo counts minutes from the start of a session. The script starts a session on load. For single page apps that keep a tab open for days, start a new session when the person returns.

js
moyo.session.start();

3. Configure in the dashboard

Pick dimensions, set the sample rate and the minutes before a check-in, and theme the card. Changes apply without redeploying.

Nothing on this page sends personal data. Do not pass user IDs, emails or names to Moyo. The SDK rejects fields it does not recognise.