Skip to content

Configuration Reference

Required Parameters

Parameter Description Example Values
partnerId Your Glance AI Store ID "store_12345"
catalogId Your Glance AI Catalog ID "catalog_67890"
widgetType Type of widget to display "chat", "try_on_banner", "try_on_button"
pageType Current page type "PDP", "PLP", "HOME", "OTHER"
pageIdentifier Unique identifier for current page Product ID, Collection ID, or page ID
storeHandle Your store's unique handle "my-awesome-store"

Optional Parameters

Parameter Description Example Values
brandLogo URL to your brand logo "https://example.com/logo.png"
title Widget title (banner/chat only) "Try this on!"
subtitle Widget subtitle (banner/chat only) "See how it looks on you"
backgroundColor Widget background (banner/chat) "#ff0000" or CSS gradient
buttonPosition Button position type (button only) "absolute", "relative"
buttonBottom Bottom offset in pixels 20
buttonRight Right offset in pixels 20
customCSS Custom CSS for container "margin: 10px; border: 1px solid #ccc;"
productIndex Product position in collection 0, 1, 2, etc.
animateTryOnButton Enable button animation true, false

Page Types

  • PDP: Product Detail Page
  • PLP: Product Listing Page (Collections)
  • HOME: Home Page
  • OTHER: Any other page type

Widget Types

  • chat: Interactive chat widget
  • try_on_banner: Banner-style try-on widget
  • try_on_button: Floating button try-on widget