AIEngage

Developer guide

Web SDK

Identify users, track events, and enable web channels with the browser SDK.

Install

Add the AIEngage snippet to your storefront or app shell. Replace YOUR_WORKSPACE_KEY with the key from Settings → Developers.

Identify & track

Call identify after login with a stable customer id. Track ecommerce events with consistent names so segments and campaigns can target them.

Example

aiengage.identify('cust_123', { email: 'ava@brand.com', name: 'Ava' }); aiengage.track('Add to Cart', { product_id: 'sku_9', value: 49 });