API Reference
Assistant Manager Options
Assistant Manager options are configured by adding the Assistant Manager script and passing data-* attributes to the script tag.
<script
src="https://store-assistant-assistantmanager.strut.fit"
async
data-organization-id="{{OrganizationId}}"
></script>Required Parameters
data-organization-id: Numeric organization ID for your store, found in the StrutFit dashboard.- Type:
number
- Type:
Optional Parameters
-
data-language: Overrides the language of the assistant.- Type:
string - Allowed values: en, de, it, nl, fr, es, sv, ja, no, nb, pt, hr, cs, da, et, fi, hu, lv, lt, pl, ar-SA, sk, sl
- Default behavior: The language is resolved in this order:
- User language previously set in the StrutFit iframe.
data-languagevalue on the script.- Website/document language (
document.documentElement.lang). - Browser language (
window.navigator.language). - English.
- Type:
-
data-position: Sets the position of the assistant iframe on the page.- Type:
string - Allowed values:
bottom-right,bottom-left,top-right,top-left,center - Default value:
bottom-right - Any unsupported value falls back to
bottom-right.
- Type:
Example With All Options
<script
src="https://store-assistant-assistantmanager.strut.fit"
async
data-organization-id="{{OrganizationId}}"
data-language="en"
data-position="bottom-right"
></script>