docs: improved segment documentation (#1956)

This commit is contained in:
Shahed Nasser
2022-08-01 17:50:30 +03:00
committed by GitHub
parent db842b7da9
commit f5a42c43fd
2 changed files with 161 additions and 57 deletions
+15
View File
@@ -0,0 +1,15 @@
# medusa-plugin-segment
Segment Plugin to add tracking to your Medusa server.
Learn more about how you can use this plugin in the [documentaion](https://docs.medusajs.com/add-plugins/segment).
## Options
```js
{
write_key: "<YOUR_SEGMENT_WRITE_KEY>"
}
```
Where `<YOUR_SEGMENT_WRITE_KEY>` is the write key of the Segment Source you create for the Medusa server.