# Decline Button Customization

### What is the Decline Button?

The **Decline** button allows your website visitors to refuse non-essential cookies. Customizing how this button works helps you respect user preferences, maintain compliance, and deliver a smooth experience.

***

### Decline Button Visibility Options

You can choose where the Decline button appears in your cookie management interface:

* **Disable Decline Button:** Hide the Decline option if you do not want to offer it.
* **Show on Cookie Banner:** Display the Decline button directly on the cookie consent banner.
* **Show in Preferences Popup:** Place the Decline button within the preferences popup only.
* **Show on Both:** Make the Decline button available in both the banner and preferences popup for maximum visibility.

<figure><img src="https://867177989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpXyFBfh7hfzrY5z7HQRN%2Fuploads%2FqPojPyCYSEexNNA4lxYQ%2Fimage.png?alt=media&#x26;token=7c5a4ed1-1c37-40a8-911c-57b906645cd6" alt=""><figcaption></figcaption></figure>

This flexibility lets you decide how and where users can decline non-essential cookies.

***

### Decline Button Actions

Consentik allows you to define what happens when a visitor clicks the Decline button. Choose the action that aligns with your privacy approach:

#### 1. Accept Necessary Cookies Only (Recommended)

* Only the cookies needed for the website to function will be accepted.
* All other (non-essential) cookies remain disabled.
* **Tip:** It’s best to update the Decline button label (e.g., “Accept Necessary Only”) so users clearly understand the action.

#### 2. Temporarily Hide the Banner

* The cookie banner will be temporarily hidden after clicking Decline, but may reappear later based on your configuration (e.g., after page reload or session end).

#### 3. Hide the Banner Permanently

* The banner will be closed and will not show again for that visitor, providing a cleaner experience.

#### 4. Redirect User to Another Page

* After clicking Decline, the user is redirected to a different page (for example, your privacy policy or a goodbye page).
* You can configure the specific URL for the redirect.

<figure><img src="https://867177989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpXyFBfh7hfzrY5z7HQRN%2Fuploads%2FPEnHxpCj3jyWmnsc7mA3%2Fimage.png?alt=media&#x26;token=3bb6ef50-840c-4635-a2ee-871a4f4532be" alt=""><figcaption></figcaption></figure>

***

### How to Configure Decline Button Behavior

1. **Open the Consentik App** in Shopify.
2. Navigate to the **Settings -> Behavior -> Decline behavior** section.
3. **Choose Decline Button Visibility:**
   * Disable, show on banner, show in preferences popup, or show in both.
4. **Select Decline Action:**
   * Accept necessary cookies only (and update button text if desired)
   * Temporarily hide banner
   * Hide banner permanently
   * Redirect to another page (enter the redirect URL)
5. **Customize the Decline Button Label** to make its action clear to users, especially if you select “accept necessary cookies only.”
6. **Save your settings** and test on your storefront.

***

### Tips

* **Clarity is Key:** Always use clear, descriptive labels for the Decline button so users know what will happen.
* **Compliance:** Consult cookie regulations relevant to your market to ensure your Decline options meet legal requirements.
* **Redirect Thoughtfully:** If using the redirect option, send users to a helpful page (such as your privacy policy) instead of a blank or error page.
