> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing via Google Tag Manager

> Embed the Molin AI widget with a Google Tag Manager custom HTML tag, and why a direct script embed is more reliable for most shops.

> [!WARNING]
>
> Google Tag Manager is trivially blocked by ad blockers, which would prevent the widget from loading for those visitors. For the most reliable experience, embed the script directly into your
> website's HTML instead.

## Step-by-step instructions

1. Open [Google Tag Manager](https://tagmanager.google.com/) and click **Tags** in the left sidebar, then click **New**.
2. Click **Tag Configuration** and choose **Custom HTML** from the tag type list.
3. Paste the embed snippet from your [Molin dashboard](https://molin.ai/app/shop-ai/publish) into the HTML field.
4. Click **Triggering** and select **All Pages** (or whichever pages you want the widget on).
5. Give the tag a name, click **Save**, then click **Submit** in the top-right corner to publish your changes.
6. Open your website and verify the widget appears in the bottom corner of the page.

## Verifying the installation

After publishing, open your website and reload the page. The Molin widget should appear in the bottom corner within a few seconds.

If it does not appear, click the **Preview** button in the top-right corner of GTM to open the debugger and confirm the tag is firing, then double-check that the widget ID in the snippet matches the one in your [Molin dashboard](https://molin.ai/app/shop-ai/publish).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.