Skip to content

Commit

Permalink
EUDC instructions (#224)
Browse files Browse the repository at this point in the history
* Docs updates for refreshJwtToken

* Removed a semicolon

* EUDC language
  • Loading branch information
bradumbaugh authored Jul 26, 2023
1 parent 60ef61a commit 0db17f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ or with a CDN:
<script src="https://unpkg.com/@iterable/web-sdk/index.js"></script>
```

# Iterable's European data center (EUDC)

If your Iterable project is hosted on Iterable's [European data center (EUDC)](https://support.iterable.com/hc/articles/17572750887444), you'll need to configure Iterable's Web SDK to interact with Iterable's EU-based API endpoints.

To do this, on the web server that hosts your site, set the `IS_EU_ITERABLE_SERVICE` environment variable to `true`.

# API

Below are the methods this SDK exposes. See [Iterable's API Docs](https://api.iterable.com/api/docs) for information on what data to pass and what payload to receive from the HTTP requests.
Expand Down Expand Up @@ -460,6 +466,7 @@ import { updateUserEmail } from '@iterable/web-sdk';
updateUserEmail('user@example.com').then().catch();
```


# FAQ

## How do I make API requests with the SDK?
Expand Down

0 comments on commit 0db17f6

Please sign in to comment.