This is a Jitsu.Classic documentation. For the lastest version, please visit docs.jitsu.com. Read about differences here.
NPM plugins
Jitsu supports Destination Plugins. New type of destination may be added to Jitsu Server from npm package.
Configuration#
NPM based destination configs consist of the following schema:
destinations:
my_plugin:
type: npm
package: jitsu-custom-destination@^1.0.0
mode: stream
config:
#config depends on particular plugin implementation
Plugin Configuration Parameters#
Parameter | Description |
---|---|
package (required) | package can be:
|
Mixpanel v2 Plugin Example#
destinations:
mixpanel2:
type: npm
package: jitsu-mixpanel-destination@^0.2.0
mode: stream
config:
anonymous_users_enabled: false
api_secret: "abc"
project_id: "123456"
token: "ZZZZZZZ"
users_enabled: true