> For the complete documentation index, see [llms.txt](https://support.functionjunctionapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.functionjunctionapp.com/creating-and-publishing/controlling-campaign-visibility.md).

# Controlling campaign visibility

You can control which customers see your campaign block on your storefront. This gives you flexibility to run broad promotions for everyone, keep campaigns private, or target specific customer segments.&#x20;

For example, you might make a VIP discount visible only to customers with a `VIP` tag, while showing a seasonal sale banner to all visitors.

Choose between the following visibility settings:

* **Everyone**: All store visitors can see the campaign
* **Hidden (private access only)**: Only visitors with secure private links that you give them can access the campaign. Copy the link provided after selecting this option and share.
* **Targeted customers**: Show the campaign block to only customers who meet the conditions that you set

***

## Change the visibility settings of an existing function

By default, a newly created function is visible to all customers. However, you can set the visibility setting in the initial setup of the function, or change it after it's published from the campaign dashboard.

**Steps:**

1. From the app dashboard, under **Functions library**, find the function that you want to edit.
2. Click the more options menu (**⋮**) to open the campaign dashboard.&#x20;
3. Under **Control visibility**, choose an option. Depending on your choice, you need to set certain conditions to complete the setup.
   1. **Everyone**
   2. **Hidden (private access only)**
   3. [**Targeted customers**](#targeted-customers)
4. Click **Save**.

### Targeted customers

If you want to show the campaign to only certain customers based on conditions you set, then choose **Targeted customers** in the **Control visibility section.**

You can set conditions based on: **customer total spend, customer tags,** or **customer order count,** and then set the limits or tags based on your campaign requirements.&#x20;
