> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/account/tag-integration/implement-ab-tasty-tag/how-to-implement-the-generic-tag/tag-domain-delegation-implementation.md).

# Set-Up your Tag domain delegation

This feature is in the early adoption phase. To benefit from it, please get in touch with your CSM.

The [Tag Implementation Page](https://app2.abtasty.com/settings/installation-code/tag) supports two hosting methods:

1. AB Tasty Hosted – Default
2. AB Tasty Delegated

{% hint style="info" %}
This article helps you implement a Tag domain delegation implementation article. If you want to host the Tag on AB Tasty, please read [Set-Up The AB Tasty Tag in 5 minutes.](https://docs.abtasty.com/account/tag-integration/implement-ab-tasty-tag/set-up-the-ab-tasty-tag-in-5-minutes.md)
{% endhint %}

To know how to select a domain and check your implementation, please read the full procedure on [How to implement Generic Tag](https://docs.abtasty.com/account/tag-integration/implement-ab-tasty-tag/how-to-implement-the-generic-tag.md).

{% hint style="info" %}
**Good to know:**\
You can leave and return to complete the setup anytime.
{% endhint %}

{% stepper %}
{% step %}

#### Subdomain Setup

{% hint style="warning" %}
Warning : Do not choose a keyword that might be blocked by third-party extensions
{% endhint %}

<div data-with-frame="true"><figure><img src="https://lh7-qw.googleusercontent.com/docsz/AD_4nXdkxG93P_7GEuDQ1VZVJz2TkYy845dqNOdz2nMtyoWiitwoctFne8QxNYsgMzo9rMEGMTufSOEhBkle3uvDOa6AmErIts0NK1FOjHbzlkXQEeI3aOVitAF-C5bPd2jFcY9S9qll?key=7Kv7EpWWNJ01lXGnmObnscyN" alt=""><figcaption></figcaption></figure></div>

1. In your **Generic tag** page **> Your tag configuration** zone, click on **Edit configuration**.&#x20;

   <div data-with-frame="true"><figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FU1KcBtuKfN87jL0xw1j2%2FScreenshot%202025-11-13%20at%2016.44.03.png?alt=media&amp;token=117ba725-2590-4cff-a229-91f669e06bcd" alt=""><figcaption></figcaption></figure></div>
2. In the **Edit tag configuration** page, select **Delegation**.&#x20;
3. Enter a subdomain (e.g., mysitedomain.com)&#x20;

   <div data-with-frame="true"><figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FT87LEg9Twi8hAa7JRx5C%2FScreenshot%202025-11-13%20at%2017.00.38.png?alt=media&amp;token=5f4c5092-28d2-4852-9550-b7c5d78b0557" alt=""><figcaption></figcaption></figure></div>
4. Click **Save** to trigger infrastructure setup.

The **Status Pending** status appears until the DNS records are generated. This action can take a few minutes. Once done, a **Step completed** status appears.&#x20;
{% endstep %}

{% step %}

#### DNS Configuration

1. When the Two DNS records are displayed, configure them in your domain provider. &#x20;

   <div data-with-frame="true"><figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2F0f82IsdSp05TA3w5RaVU%2Fimage%20(17).png?alt=media&amp;token=d03f40df-fe39-44b3-9859-150a164dc1d6" alt=""><figcaption></figcaption></figure></div>
2. Click **Check implementation** to trigger DNS check and tag refresh. \
   This action can take a few minutes. Once done, a **Step completed** status appears.&#x20;
3. Click on **Simulate changes** to go to the next step.
   {% endstep %}

{% step %}

#### Setup validation

1. Review your changes.
2. If you agree with the changes, check the 2 confirmation boxes.&#x20;

   <div data-with-frame="true"><figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2FYykm1Dw7mpnQuv3DxCh2%2FScreenshot%202025-11-13%20at%2017.23.00.png?alt=media&amp;token=028943c9-a972-4c44-9022-820361b4988b" alt="" width="375"><figcaption></figcaption></figure></div>
3. Click **Confirm and apply changes.**
   {% endstep %}

{% step %}

#### Code implementation

{% hint style="info" %}
Read our dedicated documentation to know [how to choose between synchronous (recommended) and Asynchronous tag implementation. ](https://docs.abtasty.com/account/tag-integration/understand-ab-tasty-tag-implementation-methods/choose-between-synchronous-and-asynchronous-methods.md)
{% endhint %}

1. Copy the content of **one** the tag code (either Synchronous or Asynchronous).
2. Open your website code.
3. Paste **one** of the tag codes between the \</head> tags of your pages.&#x20;
4. Go back to the Tag configuration page&#x20;
5. Click **I'm done**.
6. Implementation verification is handled automatically. Your tag will be refreshed upon validation. You are redirected to the **Generic Tag** page.
7. To make sure your tag is correctly implemented, click on **Check your tag implementation**.
   {% endstep %}
   {% endstepper %}

{% hint style="info" %}
G**ood to know:**\
For further verification, refer to our [QA and validate the Generic Tag](https://docs.abtasty.com/account/tag-integration/qa-and-validate-your-ab-tasty-tag.md) article.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.abtasty.com/account/tag-integration/implement-ab-tasty-tag/how-to-implement-the-generic-tag/tag-domain-delegation-implementation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
