--- title: "How to prevent a Beacon from appearing in incorrect locations?" slug: "how-to-prevent-a-beacon-from-appearing-in-wrong-location" updated: 2026-08-11T15:04:46Z published: 2026-08-11T15:04:46Z canonical: "support.whatfix.com/how-to-prevent-a-beacon-from-appearing-in-wrong-location" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # How to prevent a Beacon from appearing in incorrect locations? Prevent a Beacon from appearing in incorrect locations by configuring its Visibility Rules accurately. - Specify the rules using attributes such as **Page tag** and **URL Path**. - Use the conditions **Exists** or **Contains** under New Visibility Rules. - Avoid configuring generic rules or conditions, such as using only the domain part of the **URL**, as this can lead to inaccuracies. - Refine the visibility by using **Not Equals** and **Not Contains** conditions in conjunction with other conditions. - Use CSS selectors for the Beacon to appear correctly on the selected element. For more information, see [How to find a CSS selector of an element using Whatfix](/studio/docs/how-to-find-the-css-selector-of-an-element-using-whatfix-editor). For more information, see [New Visibility Rules](/studio/docs/understand-advanced-visibility-rules-for-content). ## Related - [Visibility Rules Best Practices](/visibility-rules-best-practices.md) - [Troubleshoot Beacons using Diagnostics](/troubleshoot-beacons-using-whatfix-diagnostics.md) - [Beacon does not appear correctly](/beacon-does-not-appear-correctly.md)