amplitude / amplitude/Amplitude-Node

Proxy amplitude requests from web js through nodejs

Đang mở
#197 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.