amplitude / amplitude/Amplitude-Node
Proxy amplitude requests from web js through nodejs
Đang mở
question
- Ngôn ngữ chính
- TypeScript
- Star
- 73
- Fork
- 20
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Summary
In the docs under [Build a proxy solution](https://amplitude.com/docs/analytics/domain-proxy#build-a-proxy-solution) it says:
> ...If you already have a Node API server, you could consider using the Node SDK to pass events from your own endpoint to the main Amplitude event servers.
Can you give a quick example? Which apmplitude api to call in node and how/which parameters to pass?
On the web client I'm planning to do something like this:
```
amplitude.getInstance().init('default', undefined, {
apiEndpoint: 'https://my-custom-domain.com/api/logging/amplitude',
})
```
Your input is very much appreciated!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.