How to improve drop in statistics in Shopify or 3rd party Analytics (New Version)
Overview
When a cookie consent banner is in place, analytics tools such as Shopify Analytics, Google Analytics, or other third-party tracking tools can show a drop in recorded statistics. This happens because many analytics tools only run after a visitor gives consent.
How easily visitors can interact with the banner affects how quickly tracking can start. This guide describes a configuration that helps reduce drops in recorded analytics while still giving visitors control over their choices.
Recommended banner configuration
The configuration uses the Layout tab, where you find the Consent dialogs, Cookie notice, Preferences and Enforced consent (modals) cards. It keeps the first interaction with the banner simple.
Step 1: Select Cookie notice & Preferences
Go to Cookie banner > Layout. In the Consent dialogs card, under Select the dialogs to enable, select Cookie notice & Preferences.

This shows:
- A cookie notice for quick interaction
- Access to the preferences dialog for category-level choices
Step 2: Set the Cookie notice buttons to Accept-only
Still on Cookie banner > Layout, open the Cookie notice card. Under Buttons, in Select the buttons to enable, select Accept-only.

Visitors can accept quickly from the first banner, and other choices stay available in the preferences dialog.
Step 3: Set the Preferences buttons to Accept-Decline
In the Preferences card on the same Layout tab, under Buttons, select Accept-Decline. The Preferences card is active only when Cookie notice & Preferences or Preferences only is selected in Step 1.
This way, visitors who open the preferences dialog can still accept all cookies, decline cookies, and review the categories.
Step 4: Enable Enforced consent (modals)
Still on Cookie banner > Layout, scroll to the Enforced consent (modals) card and select Enforced consent (modals).

The consent dialog now appears as a modal with a background overlay, so visitors notice it before they continue browsing.
Optional: Lock background scroll
In the same card, you can also select Lock background scroll. The page cannot be scrolled while the dialog is visible.
Why this helps analytics
- The first interaction is clear and simple.
- Visitors can accept cookies in one click.
- Fewer visitors ignore or dismiss the banner.
- Visitors who accept early in their session let analytics tools record page views and events more accurately.
Important notes
- The banner configuration should always match the privacy requirements that apply to your store.
- Different regions and laws may require different consent approaches.
- This guide describes a technical configuration, not a legal recommendation.
Summary
- Use Cookie notice & Preferences as the consent dialogs.
- Set the Cookie notice buttons to Accept-only.
- Set the Preferences buttons to Accept-Decline.
- Enable Enforced consent (modals) for better visibility.
Updated on: 27/10/2026
Thank you!
