posthog / posthog-intercom-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey all! Love the functionality here.
We want to use PostHog as our primary analytics and CDP, source of truth for events, and drop Segment.
We are super close with this integration. Would love for this to push cohorts as user tags into Intercom.
Currently events are only sent when there is an email, but we could use the person info tied to this distinct_id.
Pre-requirement PostHog/posthog#10192
Workaround: Pass email
in as an event property, the easiest way to accomplish this within posthog-js across the all events would be to register it as a super property posthog.register({'email':'[email protected]'})
It would be awesome to have PostHog forward the custom metadata included in the events forwarded to Intercom.
I notify PostHog with base events like share
then I have a type
included in the body so that I can group them or separate them in PostHog.
The problem is that when the data is passed to Intercom, I can't see what type of event it is since none of the metadata is included. Below I included an event sent to Intercom by Stripe which includes some important metadata.
Looks like it's pretty much only sending the name to Intercom: https://github.com/PostHog/posthog-intercom-plugin/blob/main/index.ts#L131
Great work on the integration, I feel it would be much more valuable with this feature though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.