Skip to content

: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.

1.5 KB
Raw Blame
{
    "name": "Currency Normalization",
    "url": "https://github.com/PostHog/posthog-currency-normalization-plugin",
    "description": "Deprecated",
    "main": "index.js",
    "config": [
        {
            "key": "openExchangeRatesApiKey",
            "name": "OpenExchangeRates API Key",
            "type": "string",
            "default": "",
            "required": true
        },
        {
            "key": "normalizedCurrency",
            "name": "Currency to normalise to (e.g. \"EUR\")",
            "type": "string",
            "default": "",
            "required": true
        },
        {
            "key": "amountProperty",
            "name": "Property key for the amount",
            "type": "string",
            "default": "amount",
            "required": true
        },
        {
            "key": "currencyProperty",
            "name": "Property key for the currency",
            "type": "string",
            "default": "currency",
            "required": true
        },
        {
            "key": "normalizedAmountProperty",
            "name": "Property key for the normalized amount",
            "type": "string",
            "default": "normalized_amount",
            "required": true
        },
        {
            "key": "normalizedCurrencyProperty",
            "name": "Property key for the normalized currency",
            "type": "string",
            "default": "normalized_currency",
            "required": true
        }
    ]
}