# Intercept Hosts

The intercept host provides the essential code required to implement intercepts on your website or specific pages. It generates the full code needed to activate and display the intercepts associated with that host.&#x20;

Once deployed, the intercept host enables you to dynamically assign or update surveys without the need to redeploy the code. This flexibility allows you to easily manage and swap out intercepts to adapt to your needs, all while keeping your website code consistent and streamlined.

<figure><img src="/files/aLQB8U7u1lEfs5d8eGy6" alt=""><figcaption></figcaption></figure>

Copy and paste the code within your website page on which you want to display the intercept. The code should be pasted before the \</body> tag of the  page.

## 👥 Intercept Access

By default, each intercept host is accessible only to the owner and administrators, ensuring controlled access. However, if you need to share an intercept, you can grant access to specific users or groups. To provide access to intercepts without granting access to the hosts themselves, you can restrict user permissions, limiting their ability to manage intercept hosts.&#x20;

<figure><img src="/files/6wZiDSm1x3s7tvP8FtmH" alt=""><figcaption></figcaption></figure>

This setup allows the technical team to maintain oversight of the intercept hosts while enabling non-technical users to create, modify, and deploy intercepts independently. It ensures that non-technical users can manage intercepts effectively without relying on the technical team for deployment.

&#x20;


---

# 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://docs.ngsurvey.com/form-management/publish-deploy/website-intercepts/intercept-hosts.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.
