Setup your destinations in Freshpaint.
Replace the Segment SDK with the Freshpaint SDK.
For each each destination you have in Segment, setup the corresponding destination in Freshpaint. This can be done in the Freshpaint destinations page. For each destination, you only need to copy your API key into Freshpaint.
First remove the Segment install snippet and replace it with the Freshpaint one. You can retrieve the Freshpaint installation snippet in the Freshpaint sources page.
With that done, you need to point your Segment tracking code to Freshpaint. This can be done by setting the
analytics object to the
window.analytics = freshpaint;
After replacing the Segment SDK with the Freshpaint SDK, you've finished the switchover process. You may not believe it, but that's all there is to it! If you want to double check everything is working properly, try performing an action that would normally trigger an event in Segment. You should see that event show up in the Freshpaint Liveview and in all your destinations too!