Connect JavaScript to Bento
Connect JavaScript to Bento
Ready to dive deeper?
Explore our comprehensive Javascript Sdk integration documentation and examples to get the most out of your automation.
Everything you need to ship fast
Drop‑in script
start fast
Browser events
page views, clicks, forms
Identify users
map traits safely
HTML tracking
staic websites, blocks, & more
Your website is already tracking users. Now turn that data into revenue.
Every page view, click, and form submission can trigger personalized campaigns that keep customers engaged and drive repeat business. The Bento JavaScript SDK makes it happen with just a few lines of client-side code.
to first automation
visual automation builder
higher customer lifetime value
Built for modern web developers who value privacy
Drop-in Ready
Add one script tag and start tracking immediately. No build process or complex setup required.
Browser Event Capture
Track page views, clicks, form submissions, and custom events directly from the browser.
Customizable
Adjust what you send, respect privacy but drive results
Framework Agnostic
Vanilla JavaScript that doesn't rely on any framework.
Everything you need for JavaScript email marketing and automation
Drop‑in script
start fast
Browser events
page views, clicks, forms
Identify users
map traits safely
HTML tracking
static websites, blocks, & more
Copy & Paste
Get up and running by pasting a single snippet of code wherever you need it.
Track browser events
Send events like page_viewed, button_clicked, form_submitted with automatic browser context.
Bento SDK integrates with your frontend stack
Works beautifully with the frameworks and tools you're already using in your web applications.
Static html sites
No heavy frameworks to install or get working
Works great with CMS solutions and SPAs
Lightweight, async, won't slow down loading
Get started in 3 simple steps
Install
Copy & Paste
Paste the snippet into any location you need it.
Configure
Add site UUID and basic config
Add your keys and basic settings.
Send your first event
bento.track({ event: 'page_viewed', email: 'user@example.com' })
Trigger a Flow and see it live.
Real ways teams use this
Signup welcome
Trigger welcome from client signup.
event: user_signed_up → welcome
Abandoned browse
Remind users who viewed but didn't buy.
event: product_viewed → no purchase → nudge
Content personalization
Tailor messages using page_viewed.
event: page_viewed → personalized content
Form follow‑up
Email when a form is submitted.
event: form_submitted → follow‑up
Tired of your current email provider?
No hassle. No surprises. Just better email.
Explore more integrations
Connect Bento with your entire tech stack. Choose from our comprehensive library of SDKs, platform integrations, and framework guides.
Development Kits
.NET SDK
ASP.NET & Web API tracking
Elixir SDK
Phoenix & OTP tracking
Go SDK
High-performance tracking
Laravel SDK
Eloquent & Artisan tracking
Next.js SDK
React & SSR tracking
Node.js SDK
Server-side tracking
PHP SDK
Web application tracking
Python SDK
Django & Flask tracking
Rails SDK
Ruby on Rails tracking
Rust SDK
Systems-level tracking
Supabase SDK
Database event tracking
Swift SDK
iOS & macOS tracking
WordPress SDK
Plugin development tracking
Platform Integrations
Bento Forms
Native form builder
Bubble
No-code app integration
ClickFunnels
Sales funnel automation
Google Tag Manager
Tag management system
Make
Workflow automation
n8n
Open-source automation
Segment
Customer data platform
SendOwl
Digital product sales
Shift4Shop
E-commerce platform
Shopify
E-commerce automation
SMS & WhatsApp (Twilio)
Multi-channel messaging
Stripe
Payment processing events
Tracking Script
Universal web tracking
Webflow
Visual web design
Webhooks
HTTP event callbacks
WooCommerce
WordPress e-commerce
WordPress
CMS integration
Zapier
App automation platform
Don't see your tech stack? We're always adding new integrations. Contact us on Discord to request help with an integration.
Frequently Asked Questions
Is it safe for PII?
Only send what you need. Use hashing/consent patterns as required.
SPA support?
Yes. Works with client‑side routing—call track on route change.
Server‑side events?
Pair with our Node/Python/Go SDKs for server events.