Magento

Add Inclusify to your Magento 2 store using a custom module or direct template editing.

Method 1: Admin Panel

1

Open Content Configuration

Go to Content → Configuration in your Magento admin.

2

Edit Store View

Click Edit next to the store view you want to modify.

3

Add to Footer Scripts

Expand Footer → Miscellaneous Scripts and paste:

HTML
<script src="https://app.inclusifyapp.com/w/YOUR-DOMAIN.com.js" async></script>
4

Save & Clear Cache

Click Save Configuration, then clear the cache at System → Cache Management.

Method 2: Template File

For more control, add the script to your theme's default.xml layout:

app/design/frontend/[Vendor]/[theme]/Magento_Theme/layout/default.xml
<referenceContainer name="before.body.end">
    <block class="Magento\Framework\View\Element\Text" name="inclusify.widget">
        <arguments>
            <argument name="text" xsi:type="string">
                <![CDATA[<script src="https://app.inclusifyapp.com/w/YOUR-DOMAIN.com.js" async></script>]]>
            </argument>
        </arguments>
    </block>
</referenceContainer>

Notes

  • • Works with Magento 2.x and Adobe Commerce
  • • Compatible with Hyvä, Luma, and custom themes
  • • Remember to clear cache after changes