Magic Askbar Test

This page tests the askbar embed mode of the HEA widget. The script tag loads /public/hea_chat_engine/hea_askbar_embed.js to mount the "Magic Ask Bar" — an inline search bar that auto-expands into a compact chat and can optionally open full-page on mobile.

Welcome to the Demo Store / Website

Try the embedded askbar below — it expands into a compact chat right inside the page. Configure it via URL parameters or data attributes.

Featured Products

A mock product grid to verify the askbar integrates naturally within page content.

Sunset Palette

€49.00

Rose Bloom

€35.00

Ocean Mist

€42.00

Berry Crush

€55.00

Nordic Chill

€38.00

Citrus Glow

€31.00

Parameters Reference

Configure the askbar via data-* attributes on the container div.

ParameterDefaultDescription
data-hea-askbarMarker attribute that activates the askbar embed (required, no value)
data-creator-idYour workspace / org identifier (required)
data-hea-idYour HEA chatbot identifier (required)
data-expandfocusWhen to expand the chat: focus or submit
data-autoclose1Collapse the chat on blur: 1 (yes) or 0 (no)
data-placeholderAsk HEA a question…Custom placeholder text for the input field
data-start420Initial expanded height in pixels
data-max640Maximum chat height before scrolling (px)
data-brand1First gradient color for the submit button
data-brand2Second gradient color for the submit button
data-fullpage-onmobile0Open hea_simple full page on phones: 1 or 0
data-widget-originCDNOverride the widget base URL (advanced / self-hosting)

Embed Snippet

Copy-paste this into your site

Customer Reviews

★★★★★

"The askbar is genius — visitors type a question right into the page, no pop-up needed!"

— Maria T.
★★★★☆

"Love how the askbar blends into our hero section. Feels native to the design."

— James K.
★★★★★

"Inline search that actually understands context. Our bounce rate dropped 15%."

— Aisha R.
★★★★★

"Setup was one div tag. Had it running on our landing page in seconds."

— Lucas M.