Skip to main content

Configuration

After authentication, the next step is to configure how Moveo One behaves in your environment.
The configuration defines where data is sent, what features are enabled, and how SDKs interact with the backend.


Overview

Moveo One SDKs and APIs are designed to be flexible — you can control runtime behavior either:

  • via inline SDK configuration, or
  • through remote configuration managed in your Moveo One dashboard.

Configurations typically include:

  • API endpoints and environment (dev / staging / prod)
  • Logging level and event buffering
  • Feature toggles such as predictive model usage or UX session tracking
  • Sampling ratios and flush intervals

Local SDK Configuration

You can configure the Moveo One SDK directly when initializing it.
Here are examples for each supported platform.

SDK Configuration

You can customize how the SDK behaves — such as which environment it reports to, how often it flushes data, and whether to enable debug logging.

<script src="https://moveoonestorage.blob.core.windows.net/000-scripts/moveo-one-script.min.js"></script>
<script>
const moveo = MoveoOne.init('YOUR_TOKEN_HERE', {
environment: 'production',
flushInterval: 10000, // send events every 10s
debug: false
});
</script>

💡 Tip (Mobile Apps): Use shorter flush intervals for high-frequency event streams during testing, and longer ones in production to minimize network overhead.


Remote Configuration (coming soon)

If you prefer centralized control, you can manage settings from the Moveo One dashboard.
Remote configuration allows changing SDK behavior without redeploying your app.

Example of what you can modify remotely:

  • flushInterval (how often to send data)
  • predictionThreashold
  • logLevel

Concepts that are managed on the dashboard (explained in separate section):

  • A/B test - Start, end or review A/B test for particular predictive model
  • rules - Rule engine configuration that transforms evets at store or process step
  • enrichment - Ability to enrich data for a specific session with the additional information
  • identification - Support for correlating the user/session from your system

SDKs will automatically fetch and apply these configurations on startup.

{
"flushInterval": 5000,
"enablePredictiveModels": true,
"eventSamplingRatio": 0.75,
"logLevel": "info"
}