在此頁面上:瞭解Target如何辨識主機、如何透過排序、搜尋、允許清單及刪除來管理主機,以及如何疑難排解常見的主機問題。
組織網站和生產前環境,以便在Adobe Target中輕鬆管理和分隔報表。 主機管理的主要目標是確保網站上沒有意外出現非使用中的內容。 主機管理也會依環境來分隔報表資料。
主機是發出Target要求的任何網域。 在網站上,它通常是發出Target請求的URL的location.hostname屬性。
依預設,Target不會限制可以發出Target個要求並接收Target個回應的主機。 當新主機提出請求時,就會自動運作。 此程式也會啟用在未知或無法預期的不同網域上的測試。 若要覆寫此預設行為,請設定允許清單或封鎖清單,以限制哪些主機可搭配Target使用。
若要管理主機,請按一下管理 > 主機。
辨識主機
若要識別主機並將其新增至 主機 清單,必須符合下列條件:
- 主機上必須至少有一個Target要求。
- 主機上的頁面必須具備正確的at.js參考和Target要求,或自動產生的全域Target要求。
- 必須在瀏覽器中檢視具有Target要求的頁面。
檢視頁面之後,主機會列在 主機 清單中。 這可讓您在環境中管理主機,並預覽和啟動活動和測試。 這包括任何個人開發伺服器。
若要確定將主機新增至 主機 清單後,就能辨識該主機:
-
按一下管理 > 主機。
-
如果主機未列出,請重新整理瀏覽器。
依照預設,新辨識的主機會置於 生產 環境中。 生產環境是最安全的環境,因為它不允許從這些主機檢視非作用中的活動。
-
如有需要,請按一下「移動」圖示(「
),將主機移至開發、測試或其他環境。 -
若要排序 主機 清單,請按一下任何欄標題(名稱、環境或上次要求時間),以遞增或遞減順序排序清單。
-
若要搜尋 主機 清單,請在 搜尋主機 方塊中輸入搜尋字詞。
-
在 主機 清單中,按一下 刪除 圖示(
)。 -
按一下「刪除」以確認刪除。
注意
如果有人瀏覽到主機上包含Target請求的頁面,則主機會再次列出。
建立允許清單
允許清單指定授權傳送Target要求給Target的主機(網域)。 所有其他產生請求的主機都會收到註銷的授權錯誤回應。
依預設,任何包含Target要求的主機都會在 生產 環境中向Target註冊,且可以存取所有使用中和已核准的活動。 當不需要此方法時,請使用允許清單來記錄適合發出Target要求並接收Target內容的特定主機。 所有主機都會繼續顯示在 主機 清單中,而環境仍可以將這些主機分組,並為每個主機指派不同的層級,例如主機是否可以看到使用中或非使用中的活動。
若要建立允許清單:
-
在 主機 清單中,按一下授權主機。
-
啟用 啟用授權主機以進行內容傳送 切換按鈕。
-
在 主機包含 方塊中新增所需的主機。
可新增多個主機,每個主機各一行。
-
若要建立無法將Target要求傳送至Target的主機(網域)封鎖清單,請在 主機不包含 方塊中新增所需的主機。
可新增多個主機,每個主機各一行。
-
按一下「儲存」。
如果未授權的主機發出Target要求,呼叫會以/* no display - unauthorized mbox host */回應。
在API呼叫中傳遞mboxHost時,會針對傳入的環境記錄轉換。 如果未傳遞任何環境,則呼叫中的主機預設為生產。
疑難排解主機
當主機發生問題時,請嘗試下列疑難排解提示:
-
主機未出現在帳戶的清單中。
- 重新整理瀏覽器中的 主機 頁面。
- 確認Target要求是否正確,包括at.js參考。
- 嘗試瀏覽至主機上的其中一個Target要求。 主機上的任何Target請求都未曾在瀏覽器中轉譯。
-
隨機或未知的網域出現在[主機]清單中。
從網域向Target發出請求時(即網域呼叫at.js時),網域會顯示在清單中。 例如,當有人將網頁複製到另一台伺服器時,該網域會出現在清單中。 可能也會顯示來自爬蟲引擎、語言翻譯網站或本機磁碟機的網域。 當列出的網域不是團隊使用的網域時,按一下[刪除] 以移除它。
-
Target要求傳回
/* no display - unauthorized mbox host */.此回應表示要求是在未獲授權的主機上發出。 請參閱建立允許清單。
AI Knowledge Reference
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: Hosts are the domains from which Adobe Target requests are made, and this page explains how to recognize, organize and delete hosts, and how to use an allowlist or denylist to limit which hosts work with Target.
Intents:
- Understand what a host is and why host management is used.
- Find out which conditions make Target recognize a host and add it to the Hosts list.
- Move a host to another environment, and sort or search the Hosts list.
- Create an allowlist of hosts authorized to send Target requests, or a denylist of hosts that cannot.
- Delete a host from the Hosts list.
- Troubleshoot a host that is missing, an unknown domain in the list, or the unauthorized mbox host response.
Glossary:
- Host: any domain from which a Target request is made. On a website, it is usually the
location.hostnameproperty of the URL making the Target request. - Allowlist (product-specific): a list of hosts (domains) authorized to send Target requests to Target. All other hosts generating requests get a commented-out authorization error response.
- Denylist (product-specific): a list of hosts (domains) that cannot send Target requests to Target, created by adding the hosts in the Host Does Not Contain box.
- Production environment: the environment in which a newly recognized host is placed by default. It is the safest environment because it does not allow inactive activities to be viewed from these hosts.
Guardrails:
- The Production environment cannot be deleted, even if you rename it.
- The allowlist takes precedence over environments.
Prerequisites and permissions:
- To recognize a host and add it to the Hosts list, at least one Target request must exist on the host.
- A page on the host must have an accurate at.js reference, and a Target request or an auto-generated global Target request.
- The page with the Target request must be viewed in a browser.
Terminology:
- Canonical name: Hosts
- Synonyms: “denylist” and “blocklist” (both used on the page for the list of hosts that cannot send Target requests)
FAQ:
- What is the primary goal of host management? The primary goal of host management is to ensure that no inactive content accidentally appears on websites. Host management also lets you separate report data by environment.
- Does Target limit which hosts can make Target requests by default? By default, Target does not limit a host that can make Target requests and receive Target responses, so new hosts automatically work. To override this default behavior, you can set up an allowlist or blocklist to limit which hosts work with Target.
- Where is a newly recognized host placed? By default, a newly recognized host is placed in the Production environment.
- What happens when a Target request is made on an unauthorized host? The call responds with
/* no display - unauthorized mbox host */. - What happens when mboxHost is passed in an API call? Conversion is recorded for the environment that is passed in. If no environment is passed, the host in the call defaults to Production.
- What happens to a deleted host? The host is listed again if anyone browses to a page that contains a Target request on the host.
Troubleshooting:
- Host does not appear in the list for your account. Refresh the Hosts page in your browser. Confirm that the Target request is correct, including the at.js reference. Try browsing to one of the Target requests on the host, because it is possible that no Target request on the host was ever rendered in a browser.
- Random or unknown domains appear in the Host list. A domain appears in this list if a request to Target is made from the domain. Often, you could see domains from spider engines, language translator sites, or local disk drives. If the listed domain is not one your team uses, you can click Delete to remove it.
- My Target request returns / no display - unauthorized mbox host /. If a Target request is made on an unauthorized host, the request responds with
/* no display - unauthorized mbox host */.
Best practices:
- Security best practices, if you use ubox functionality of Target: the allowlist also controls the list of domains to which your redirectors can navigate, so ensure that you add any domains to which you want to redirect when you use ubox as a part of your implementation. If the allowlist is left unspecified, Adobe is not able to verify the redirect URLs and protect from potential malicious redirects.
- Clear out all hosts before using the allowlist feature, then only the hosts allowed by the allowlist appear in your hosts list. You can then move the hosts into the desired environment.
- The Authorized Hosts list is used for both Target hosts and default redirect hosts. Add all existing domains approved to use the Adobe Target JavaScript SDK (at.js) and all domains used in ubox default redirect URLs. Add any new similar domains to the allowlist in the future.
Related pages:
- Separating report data by environment: environment (administrating-target/environments.md)
Personas:
- admin: Can check that a host is recognized by selecting Administration > Hosts and refreshing the browser if the host is not listed. Can move a host from the Production environment, where a newly recognized host is placed by default, into the Development, Staging, or other environment by selecting the Move icon. The page states that the Production environment cannot be deleted, even if you rename it. Where: “Recognizing hosts”.
Onboarding:
- Level: Intermediate
- First minimal step: Make sure at least one Target request exists on the host and that a page on the host has an accurate at.js reference and a Target request or an auto-generated global Target request, then view the page with the Target request in a browser.
- Success check: After the page is viewed, the host is listed in the Hosts list under Administration > Hosts.
- Next: Separate report data by environment: environment (administrating-target/environments.md)