Открыта бета 1С:ПредприятияОставить заявку
A

Analytics posthog

Posthog analytics provider for Medusa

Входит в @medusajs/medusa, ставить отдельно не нужно
Категория
Создано
Версия
2.22.4
Последнее обновление
7 часов назад
Ежемесячные загрузки
Загрузка данных

Medusa logo

@medusajs/analytics-posthog

Documentation | Website

Building blocks for digital commerce

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

PostHog Analytics Module Provider for Medusa: sends events and identities tracked through the Analytics Module to PostHog. Use it to track commerce events (such as orders placed or carts updated) in PostHog from your workflows and subscribers. It ships with and is registered through the path.

At a glance

Package
TypeModule Provider (Analytics Module)
Provider ID
Registered by defaultNo
Import from

Installation

No installation needed. The provider is a dependency of .

Usage

Register the provider in the Analytics Module's array in . The Analytics Module accepts exactly one provider.

Configuration

OptionTypeDescriptionDefault
Required. The PostHog project API key used to send events.-
The PostHog instance URL.
Environment variableDescription
Value for , as used in the example above.
Value for , as used in the example above.

Resources