Freshpaint Web SDK Options
Freshpaint's SDK accepts a number of options in its
initmethod. We'll go over those options in this document. Here's a typical invocation of
init, which you can find in our Autotrack snippet:
Below is a table of the options we support with the
Each event allows you to pass in a list of integrations to which you want to send your event. This is a great way to conditionally enable or disable an integration while you're experimenting. Here's an example of how it works:
There's a couple of interesting properties to highlight here. The first is
All: false. You can use this to override your event's normal list of destinations, and send to none of them, except for
Iterable, which are both true.
The inverse of this behavior is also possible. Consider the following:
Here, you'll send to every destination except Mixpanel.