Running Freshpaint with a Proxy

If you want to route data through your own server before the data is sent to Freshpaint, you can do so by customizing the initialization of the SDK. When calling freshpaint.init() you should provide your own API url you want to send the data to first like so:

freshpaint.init('<env-id>', {'api_host': '<custom-api-host>'});

Last updated