Skip to Content
This is our docs site, visit our main website at strut.fit 
API ReferenceAssistant Manager Options

Assistant Manager Options

Assistant Manager options are configured on the script tag using data-* attributes.

<script src="https://store-assistant-assistantmanager.strut.fit" async data-organization-id="{{OrganizationId}}" data-language="en" data-position="bottom-right" ></script>

Required Parameters

  • data-organization-id: Numeric organization ID for your store.
    • Type: number
    • Example: data-organization-id="1234"

Optional Parameters

  • data-language: Language override for the assistant.

    • Type: string language code
    • Default behavior: if no valid override is provided, language is resolved in this order:
      1. User language previously set in the StrutFit iframe.
      2. data-language value on the script.
      3. Website/document language (document.documentElement.lang).
      4. Browser language (window.navigator.language).
      5. English.
    • valid values include: en, de, it, nl, fr, es, sv, ja, no, nb, pt, hr, cs, da, et, fi, hu, lv, lt, pl, ar-SA, sk, sl
  • data-position: Position of the assistant iframe on the page.

    • Type: string
    • Default: bottom-right
    • Allowed values: bottom-right, bottom-left, top-right, top-left, center
    • Any unsupported value falls back to bottom-right.
Last updated on