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

# Advanced Settings

> Bring your own Google Tag Manager container for custom analytics tracking on your gallery website.

## Overview

The **Advanced** tab lets eligible organisations connect their own Google Tag Manager (GTM) container to the gallery website. Use this only if you want to manage analytics and tracking outside the built-in 9Pic analytics.

**Plan availability:** The Advanced (Google Tag Manager) tab is editable on **all plans** — there's no plan gate on this tab in the dashboard.

<Warning>
  **Adding your own GTM container will replace the built-in analytics that 9Pic provides for your website.** Once you save a GTM ID, the 9Pic analytics dashboards and event tracking will no longer be available for that website. You will need to create your own Google Analytics property, build your own dashboards, and manage all tracking yourself. 9Pic cannot provide support for custom analytics setups. Only enable this if you are comfortable managing Google Tag Manager, Google Analytics, and reporting on your own.
</Warning>

<Frame caption="Advanced settings">
  <img src="https://assets.9pic.ai/docs/dashboard-guide/settings/advanced-config.webp" alt="Advanced settings tab showing the Google Tag Manager warning alert and optional GTM container ID input" />
</Frame>

## How to Open

<Steps>
  <Step title="Go to Settings">
    Click **Settings** in the sidebar.
  </Step>

  <Step title="Select Advanced">
    Click the **Advanced** tab.
  </Step>
</Steps>

You can also open it directly at `/settings?tab=advanced`.

***

## Analytics & Tracking

### What Is Google Tag Manager?

Google Tag Manager (GTM) lets you add tracking codes — like Google Analytics — to your website without writing any code. You set up tags in GTM, then connect 9Pic to your container using your **Container ID**.

### Add Your GTM Container ID

<Steps>
  <Step title="Find your Container ID">
    Sign in to [Google Tag Manager](https://tagmanager.google.com) and note your Container ID. It looks like `GTM-XXXXXXX`.
  </Step>

  <Step title="Paste the ID">
    In the **Analytics & Tracking** card, paste the Container ID into the **Google Tag Manager ID (Optional)** field.
  </Step>

  <Step title="Save">
    Click **Save Advanced Changes** at the bottom of the page.
  </Step>
</Steps>

<Note>
  Leave the field blank to keep using the built-in analytics that 9Pic provides.
</Note>

***

## Remove Custom Tracking

To go back to the default 9Pic analytics, clear the **Google Tag Manager ID** field and click **Save Advanced Changes**. The next time the website loads, the built-in analytics resume.

***

## Common Questions

<AccordionGroup>
  <Accordion title="Where did the domain settings go?">
    Domain and region settings are in the **Domain & Region** tab. Region is editable on all plans; connecting a custom domain or platform subdomain is Pro and Enterprise only.
  </Accordion>

  <Accordion title="What format should the GTM ID be in?">
    `GTM-XXXXXXX`, where `XXXXXXX` is a mix of letters and numbers. You can find this at the top of your Google Tag Manager container view.
  </Accordion>

  <Accordion title="Should I add a GTM ID if I only want the normal 9Pic analytics?">
    No. Leave the field blank if you want to use the analytics that 9Pic provides by default.
  </Accordion>

  <Accordion title="How do I know if my tracking is working?">
    After saving, open your gallery website and use Google Tag Manager's **Preview** mode to verify that your container is loading correctly.
  </Accordion>

  <Accordion title="Can I revert if I change my mind?">
    Yes. Clear the GTM ID field and save again. The built-in 9Pic analytics resume on the next page load.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Settings Overview" icon="gear" href="/dashboard-guide/settings">
    Back to all settings.
  </Card>

  <Card title="Domain & Region" icon="globe" href="/dashboard-guide/settings/domain">
    Connect a custom domain so analytics events are scoped to your brand.
  </Card>
</CardGroup>
