Add Antlytics to Medusa
Medusa is a headless commerce platform — the Medusa server handles orders, products, and payments, but the storefront is a separate Next.js or other frontend application.
Install the Antlytics snippet in your storefront by following the guide for your frontend:
- Next.js App Router — the official Medusa starter uses Next.js
- Plain HTML / vanilla JS — for custom storefronts
The snippet belongs in the root layout of your storefront app, not in the Medusa server.
Need help?
Email support@antlytics.com with your site ID and page URL.
Something missing? Get in touch and we will update these docs.