@posthog/engage-so-plugin
v0.0.7
Published
Engage + Posthog Integration
Downloads
9
Keywords
Readme
POSTHOG ENGAGE APP
The Engage Posthog plugin processes and sends customer data and events identified and tracked through Posthog to Engage. You can then use the data for customer segmentation, targeted campaigns and automation.
Tracked Events
The plugin only tracks your Custom and $identify events.
Setup
During installation, you will provide your Engage secret key and public key. These are available on the account settings page of your Engage dashboard (Settings -> Account -> API keys). This is used to send your Posthog events to Engage.
Once setup is complete, Posthog will start sending your events to Engage and they will be available on your Engage account.
Event properties
Extra event properties and metadata are also processed and sent to Engage.
posthog.identify(
'[user unique id]', // distinct_id, required
{ userProperty: 'value1' }, // $set, optional
{ anotherUserProperty: 'value2' } // $set_once, optional
);
The example above using the Posthog JS SDK appends extra properties to the identify event. These extra properties will be sent as well to Engage.