# Custom \<head> and \<body> Code per Domain

### Adding Custom \<head> or \<body> Code per Domain

When using the PRO version, a field for \<head> or \<body> code for each domain should appear:

<figure><img src="/files/DrbBWd1SIHxP82uaZu6p" alt=""><figcaption><p>Custom &#x3C;head> and &#x3C;body> Code per Domain</p></figcaption></figure>

Simply paste in any custom code you have here, and this will now appear on the frontend of the website in the respective sections.&#x20;

{% hint style="success" %}
This is great for Google Analytics integration, or any other 3rd party tool that require custom code for each domain on your site.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/features/custom-less-than-head-greater-than-and-less-than-body-greater-than-code-per-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
