:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { LegacyDestinationPlugin } from '../../types'
import { onEvent, setupPlugin } from './index'
// NOTE: This is a deprecated plugin and should never be shown to new users
export const rudderstackPlugin: LegacyDestinationPlugin = {
setupPlugin: setupPlugin as any,
onEvent,
template: {
free: false,
status: 'deprecated',
type: 'destination',
id: 'plugin-rudderstack-posthog-plugin',
name: 'RudderStack',
description: 'Send event data to RudderStack',
icon_url: 'https://raw.githubusercontent.com/rudderlabs/rudderstack-posthog-plugin/main/logo.png',
category: [],
code_language: 'javascript',
code: 'return event',
inputs_schema: [
{
templating: false,
key: 'dataPlaneUrl',
label: 'RudderStack Server URL',
type: 'string',
description: 'Provide RudderStack server url, append v1/batch path',
default: 'https://hosted.rudderlabs.com/v1/batch',
required: true,
secret: false,
},
{
templating: false,
key: 'writeKey',
label: 'RudderStack Source Writekey',
type: 'string',
description: 'Provide source writekey',
required: true,
secret: true,
},
],
},
}