# ▶️ Create a privacy compliance banner

Source: https://support.storeconnect.com/articles/how-to-create-a-privacy-compliance-banner · Last modified 21 August 2026

Video: https://vimeo.com/1197554054?fl=sv&fe=ci

### **1\. Prepare Your Tracking Scripts**

-   Before setting up your banner, ensure that you have any required **tracking scripts** ready:

    -   Example: **Google Analytics**, **Facebook Pixel**, etc.

-   In StoreConnect:

    -   Go to **StoreConnect Navigation** → **Custom Content** → **Script Blocks**.

    -   Here, you can create **Script Blocks** to hold your tracking scripts.

    -   (Detailed instructions for creating Script Blocks are covered in [another video](how-to-use-script-blocks)).


---

### **2\. Create Compliance Groups**

-   Go to:

    -   **StoreConnect Navigation** → **Configuration** → **Advanced** → **Compliance Groups**.

-   Click **New** to create your first **Compliance Group**.

-   Example groups:

    -   **Strictly Necessary**:

        -   Description: What this group is for.

        -   **Active**: Checked.

        -   **Required**: Checked (users cannot opt out of these cookies).

        -   Assign to your **Store**.

        -   **Position**: 1.

    -   **Analytics**:

        -   Description: What this group is for (e.g. site tracking).

        -   **Active**: Checked.

        -   **Required**: Unchecked (users can opt in or out).

        -   Assign to your **Store**.

-   Click **Save and New** to quickly add multiple groups.

-   Result: You should now have at least two groups (Strictly Necessary, Analytics).


---

### **3\. Add Cookies to Compliance Groups**

-   Go to:

    -   **StoreConnect Navigation** → **Configuration** → **Advanced** → **Cookies**.

-   Click **New** to create each **Cookie**.

-   For each Cookie:

    -   Enter a **Name**.

    -   Provide a **Description**.

    -   **Active**: Checked.

    -   Select the appropriate **Compliance Group** (created in Step 2).

    -   Select the associated **Script Block**.

-   Example cookies:

    -   **Required Cookie** → assigned to **Strictly Necessary**.

    -   **Analytics Cookie** → assigned to **Analytics**.

    -   **Referrals Cookie** → assigned to **Analytics**.

-   After adding each cookie, click **Save and New** to continue adding more.


---

### **4\. Enable the Privacy Compliance Banner**

-   Go to:

    -   **StoreConnect Navigation** → **Stores** → **All Stores**.

-   Open your **Store Record**.

-   Go to **Content** → **Privacy** → click **Edit**.

-   Configure the Privacy Banner:

    -   **Enable Privacy Compliance** → Checked.

    -   Add **Primary Banner Text** (text displayed on the banner itself).

    -   Add **Secondary Settings Page Text** (text shown when user clicks "Manage Cookies").

-   Click **Save**.


---

### **5\. Verify and Test the Banner**

-   Visit your **Store’s website**.

-   Refresh the page:

    -   You should see the **Privacy Compliance Banner** appear.

    -   Options available:

        -   **Accept All**.

        -   **Reject All**.

        -   **Manage Cookies**.

-   Click **Manage Cookies**:

    -   You will see the **Compliance Groups** listed (Strictly Necessary, Analytics).

    -   Inside each group:

        -   View the **Group Name** and **Description**.

        -   View the **Cookies** assigned to that group:

            -   **Required Cookies** → pre-enabled and cannot be disabled.

            -   **Optional Cookies** → can be toggled **On/Off** by the user.

-   After saving settings, the banner will disappear and the choices will be respected.

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/how-to-create-a-privacy-compliance-banner