Get Started
Installation
Installation Methods
Conseto can be installed in several ways depending on your platform. Choose the method that fits your stack.
CDN (Recommended)
The fastest way to get started. No build tools required.
html
<script src="https://www.conseto.io/dist/conseto.min.js"></script>
<script>
Conseto.init({ clientId: 'YOUR_CLIENT_ID' });
</script>| Bundle | Size | Includes |
|---|---|---|
conseto.min.js | ~13KB gzipped | Analytics + Consent Banner |
conseto-core.min.js | ~2KB gzipped | Analytics only (no banner) |
conseto.esm.js | ~87KB | ESM module for bundlers |
NPM / Yarn
For React, Next.js, Vue, and other JavaScript frameworks:
bash
npm install @conseto/core
# or
yarn add @conseto/corejavascript
import Conseto from '@conseto/core';
const conseto = await Conseto.init({
clientId: 'YOUR_CLIENT_ID'
});Server-side SDKs
For server-side tracking (purchases, conversions, webhooks):
Node.js
npm install @conseto/nodePython
pip install consetoPHP
composer require conseto/php-sdkPlatform Integrations
One-click installs for popular platforms: