Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml
<script src="https://widget.shopassistant-ai.com/preguide_ai.js" 
        data-tenantid='<Please insert your tenant id here>' 
        data-app-type="pdp" defer><
        defer>
</script>
Info

Please insert your tenant id in the 'data-tenantid' attribute.

For Example:

Code Block
<script src="https://widget.shopassistant-ai.com/preguide_ai.js" 
        data-tenantid='prz_123123123' 
        data-app-type=”pdp”
defer><
 
        defer>
</script>
Info

Please ensure to include defer in the script tag.

...

If PDP layout is off, please add an outer container to the script like below

Code Block
languagehtml
<div style="display: block; width: 100%;">
  <script src="https://widget.shopassistant-ai.com/preguide_ai.js" 
          data-tenantid='prz_123123123' 
          data-app-type=”pdp” 
          defer></script>
</div> 
Info

Note: The AI Shop Assistant PDP will be loaded on the specific page where you put the script.

...