The production-ready Medusa DTC Starter is outRead the announcement
A

Analytics local

Local analytics provider for Medusa

Included in @medusajs/medusa, no separate install needed
Category
Built by
Version
2.22.4
Last updated
7 hours ago
Monthly downloads
Loading downloads

Medusa logo

@medusajs/analytics-local

Documentation | Website

Building blocks for digital commerce

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

Local Analytics Module Provider for Medusa: logs analytics and calls to the Medusa logger at debug level instead of sending them to a third-party service. Use it in development to see which analytics events your application emits. 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.

Events are logged at the level, so set your log level accordingly to see them.

Configuration

The provider has no options.

Resources