Register Site

Get your site ID to start optimizing conversions.

Site Created

Your site ID is ready. Add the snippet to start AI-powered optimization.

Site API Key

Integration Guide

Add NUNAMI to any website in 2 minutes. One script tag analyzes your pages, generates variants, and runs AI-powered optimization.

1 Add the optimization snippet

<script src="https://nunami.ai/snippet.js?key=YOUR_API_KEY"></script>

2 Track conversion events

// When a visitor views a product nunami.viewProduct({ id: 'SKU-001', name: 'Blue Running Shoes', price: 89.99, category: 'Shoes', image: 'https://example.com/shoe.jpg', url: window.location.href }); // When they add to cart nunami.addToCart({ id: 'SKU-001', name: 'Blue Running Shoes', price: 89.99 }); // On purchase nunami.purchase({ id: 'SKU-001', name: 'Blue Running Shoes', price: 89.99 });

3 Get AI recommendations

// Get personalized product recommendations nunami.getRecommendations({ limit: 6 }) .then(products => { products.forEach(p => { console.log(p.name, p.price, p.image); }); });

4 REST API (server-side)

# Track an event curl -X POST https://nunami.ai/api/track \ -H "Content-Type: application/json" \ -H "X-API-Key: YOUR_API_KEY" \ -d '{ "visitor_id": "user_123", "event_type": "product_view", "product": { "id": "SKU-001", "name": "Running Shoes" } }' # Get recommendations curl "https://nunami.ai/api/recommend?key=YOUR_API_KEY&visitor_id=user_123&limit=6"