open
Web SDK 1.8.0Opens the widget.
whazzup('open')Web SDK
Open, update, identify, track and shut down the widget.
Opens the widget.
whazzup('open')Closes the widget.
whazzup('close')Updates page, title and language after navigation.
whazzup('update', { url: location.href, title: document.title, locale: 'en' })Links the session to a person and optionally a company - automatically from window.whazzupSettings or with a signed token.
window.whazzupSettings = {
name: 'Ada Lovelace',
email: 'ada@example.com',
userId: '42',
plan: 'pro',
signedUpAt: '2025-04-01',
monthlyValue: 49,
company: { id: 'acme', name: 'Acme Inc', plan: 'business', size: 120, renewalDate: '2026-04-01' }
};
// or, verified:
whazzup('identify', { token: identityToken })Sends a deliberately selected product event.
whazzup('track', { name: 'trial_started', properties: { plan: 'pro' } })Shows or hides the launcher.
whazzup('hide')
whazzup('show')Fully ends the current widget session on sign-out or account switch.
whazzup('logout')
// or before switching accounts:
whazzup('reset')Hides the widget; destroy fully removes the instance.
whazzup('shutdown')
whazzup('shutdown', { destroy: true })