Back to Plugins

Google Analytics Medusa

A Medusa plugin for sending ecommerce spec events to Google Analytics using the Measurement Protocol.


Features

Requirements

Installation

npm install @variablevic/google-analytics-medusa

Configuration

Add the plugin to your medusa-config.ts file with your GA4 credentials:

Important Notes

Client-side Events

Certain events require client-side implementation:

User Association

It’s recommended to set GA client IDs as cart metadata to properly associate events with users.

Events Tracked


Explore More Medusa Plugins

Find more powerful plugins and integrations to enhance your Medusa store. Browse our collection of community-driven solutions.

Free & Open Source
Community Driven
Easy Integration