Skip to content

Proxy amplitude requests from web js through nodejs #197

@arthabus

Description

@arthabus

Summary

In the docs under 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions