Quickstart Example (Web)
This short example shows how to integrate Moveo One into a static website in under 2 minutes.
You’ll track page views and clicks — and verify data in your dashboard.
Prerequisites
- You have a Moveo One account
- You have generated your organization token (from the dashboard)
- You can edit your website’s HTML (e.g., /index.html)
Step 1. Add Moveo One Script
Place the Moveo One script tag at the very end of your HTML, right before the closing </body> tag:
<script src="https://moveoonestorage.blob.core.windows.net/000-scripts/moveo-one-script.min.js"></script>
<script>
  // Initialize Moveo One with your organization token
  const moveo = MoveoOne.init('YOUR_TOKEN_HERE');
</script>
That’s it — your site is now connected to Moveo One.
Once initialized, the SDK automatically tracks key user interactions such as:
- Page visits
- Scroll depth
- Clicks and element focus
- Session duration
Step 2. Track a Custom Event
You can add custom tracking anywhere in your page:
<button onclick="moveo.tick('signup_click', { plan: 'pro' })">
  Sign Up
</button>
Or with code:
moveo.tick('form_submitted', {
  step: 3,
  timeSpent: 42
});
Each event automatically includes:
- Timestamp
- Session and context identifiers
Step 3. Verify in Dashboard
After publishing your site:
- Visit your page and perform a few actions
- After 30-60 min you should be able to see events comming to dashboard
- Open the Moveo One Dashboard: https://app.moveo.one/dashboard
- You should see your # of sessions,average session time, and# of semantic groupsevents appearing in real time
Step 4. (Optional) Configure Event Flush Interval
By default, events are buffered and sent in batches every few seconds.
You can configure this behavior during initialization:
<script>
  const moveo = MoveoOne.init('YOUR_TOKEN_HERE', {
    flushInterval: 5000, // send every 5s
    debug: true
  });
</script>
Enabling debug mode prints SDK logs to the browser console.
Step 5. Troubleshooting
If you don’t see data:
- Make sure your token is valid and active
- Check the browser console for any network or token errors
- Ensure your website allows outgoing requests to https://api.moveo.one
✅ Summary
After this setup:
- You’ll see live user interactions in your dashboard
- Moveo One will start building behavioral models automatically
- You can extend tracking anytime with new events or user attributes