Skip to main content
Version: 1.5.x

Data Region

To comply with data residency requirements and improve performance, you can specify where your notification data is stored using the Multi-Region feature.

In the Frontend SDKs, the dataRegion prop allows you to select the region for retrieving your notification data and preferences. By default, data is sourced from the us region, but you can switch to another region as needed.

Usage

To use the dataRegion prop, include it in your component as shown below:

import { Engagespot } from '@engagespot/react-component';

<Engagespot
apiKey="ENGAGESPOT_API_KEY"
userId="unique-id-of-your-user"
dataRegion="eu" // Options: "us" (default), "eu"
/>;

Available Regions

  • us: United States (default)
  • eu: European Union

Additional Resources

For more information on multi-region support, please refer to the Multi-Region Support documentation.