> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/publish-deploy/intercepts-llmwaqa-alilktrwnyh/kyfyh-ttbyq-intercept.md).

# كيفية تطبيق Intercept

نظرًا لأن الـ Intercepts هي استبيانات أو نماذج مدمجة داخل موقعك الحالي، فإنها تتطلب إعداد واحد أو عدة [intercept hosts](/ar/form-management/publish-deploy/intercepts-llmwaqa-alilktrwnyh/mdhyfw-intercept.md). يعمل كل intercept host كحاوية لعرض [intercepts ](/ar/form-management/publish-deploy/intercepts-llmwaqa-alilktrwnyh/intercepts.md)ويوفر مقتطف شفرة JavaScript فريدًا.

لتنفيذ intercept على موقعك:

1. **Set Up Intercept Hosts**: عرف intercept hosts للصفحات التي ترغب في عرض intercepts عليها. يمكن تخصيص كل host لمطابقة معايير التشغيل والاستهداف المطلوبة ويمكنك ربط استبيان واحد أو أكثر ديناميكيًا بكل host.
2. **Deploy JavaScript Code**: بعد تكوين intercept host، انسخ مقتطف شفرة JavaScript الفريد الذي يتم إنشاؤه وأضفه إلى الصفحات ذات الصلة في موقعك. هذه الشفرة ضرورية لتفعيل الـ intercept وتسمح بتحميله بسلاسة داخل الصفحة أو الصفحات المختارة.
3. **Customize Triggering and Targeting**: اضبط إعدادات كل intercept لتحديد متى ولمن يظهر. يمكنك استهداف المستخدمين استنادًا إلى عوامل مثل السلوكيات والتنقلات والبيانات المخصصة. بالإضافة إلى ذلك، يمكنك التحكم الكامل في مظهر الـ intercept (مثل نافذة منبثقة، شريط، أو نموذج مدمج) ليتماشى مع تصميم موقعك وتحسين تجربة المستخدم باستخدام أنماطك وسجلاتك وCSS المخصصة الخاصة بك.

&#x20; &#x20;


---

# 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.ngsurvey.com/ar/form-management/publish-deploy/intercepts-llmwaqa-alilktrwnyh/kyfyh-ttbyq-intercept.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.
