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

# Install Datasite with Google Tag Manager

> Add your Datasite tracking snippet through a Google Tag Manager Custom HTML tag and publish the container to begin collection.

Use Google Tag Manager (GTM) to add the Datasite tracking snippet without editing your site's source files. Copy the exact snippet from the website's **Settings → Setup** page.

## Create a Custom HTML tag

**1. Open your GTM container**

Select the container for the website you are configuring.

**2. Create a tag**

Open **Tags**, select **New**, and choose **Custom HTML** as the tag type.

**3. Add the Datasite snippet**

Paste the tracking snippet copied from Datasite's **Settings → Setup** page.

**4. Choose a trigger**

Select the trigger that should load the tracker on your website pages.

**5. Preview and publish**

Use GTM's **Preview** mode to confirm that the tag fires, then submit and publish the container.

If you track multiple websites, create a separate tag for each website and use the matching website ID. Use GTM triggers to control where each tag fires.


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