> For the complete documentation index, see [llms.txt](https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://domainmappingsystem.gitbook.io/domainmappingsystem-docs/features/custom-less-than-head-greater-than-and-less-than-body-greater-than-code-per-domain.md).

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

This page explains how to add custom \<head> and \<body> code sections per domain, such as if you're using Google Analytics or other tools that require head or body code integration.

### 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="https://1402200364-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdK4RkxW1x8s0Z8rF9f%2Fuploads%2FtXJoJteNkYFTRz0TeTy8%2Fhead-body-code-per-domain.png?alt=media&amp;token=1a411771-318e-4810-8c8b-5cf2692b1aa3" 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 %}
