Version 3 of the kit: - Radix UI replaced with Base UI (using the Shadcn UI patterns) - next-intl replaces react-i18next - enhanceAction deprecated; usage moved to next-safe-action - main layout now wrapped with [locale] path segment - Teams only mode - Layout updates - Zod v4 - Next.js 16.2 - Typescript 6 - All other dependencies updated - Removed deprecated Edge CSRF - Dynamic Github Action runner
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
---
|
|
status: "published"
|
|
title: 'Using the Meshes Analytics Provider in Next.js Supabase Turbo'
|
|
label: 'Meshes'
|
|
description: 'Add Meshes to your MakerKit application for event tracking and analytics.'
|
|
order: 6
|
|
---
|
|
|
|
[Meshes](https://meshes.io/) is a platform for event tracking for user engagement and conversions. It captures custom events (signups, plan upgrades, feature usage) so you can measure what matters without building your own event pipeline.
|
|
|
|
## Installation
|
|
|
|
Install the Meshes plugin using the MakerKit CLI:
|
|
|
|
```bash
|
|
npx @makerkit/cli@latest plugins add meshes-analytics
|
|
```
|
|
|
|
The Makerkit CLI will automatically wire up the plugin in your project, so you don't have to do anything manually
|
|
|
|
The codemod is very complex, so please review the changes with `git diff` and commit them.
|
|
|
|
## Environment Variables
|
|
|
|
Set the analytics provider and Meshes configuration:
|
|
|
|
```bash title=".env.local"
|
|
# Meshes configuration
|
|
NEXT_PUBLIC_MESHES_PUBLISHABLE_KEY=your_api_key_here
|
|
```
|
|
|
|
Please [read the Meshes documentation](https://meshes.io/docs) for more information on how to use the Meshes analytics provider. |