GDPR Cookie Banner
How it works
GDPR Cookie Banner tells visitors that your store uses cookies and lets them accept, reject, or choose their cookie preferences. It helps you comply with privacy laws such as GDPR, CCPA, and LGPD, and you can show it to visitors from all countries or only from the regions you select.
Step 1: Open the feature
From your Shopify admin, open LV - Product Badges → Store Optimizations → GDPR Cookie Banner.
Step 2: Activate the widget
This feature requires the Lavar app embed to be enabled in your Shopify theme. If it's already enabled, go to step 3.
- Click Activate app embed, then save your theme changes in the Shopify theme editor.
- Return to the app and click Verify now.
- Turn on the toggle beside This setting is deactivated.
- Click Save at the top of the page.
For detailed instructions, see How to Enable App Embed and App Blocks in Lavar.
Step 3: Configure general settings
Open General Settings to choose how the banner works.
Interaction
- Explicit consent: The banner shows on each page until the visitor clicks one of its buttons.
- Implied consent: Consent is inferred when the visitor interacts with the page, such as clicking, scrolling, or refreshing.
- Auto hide when user scrolling 20% page: Available with implied consent. Hides the banner after the visitor scrolls 20% of the page.
- Force Interaction: Visitors must interact with the banner before they can use your site. Ideal for strict compliance.
- Display banner after your page load: Set the delay in seconds before the banner appears.
Actions, policies, preferences, and regions
- Actions: Accept is always shown. Choose whether to show Reject, Preferences, and Close.
- Privacy policy: Select Privacy policy and enter the link to your own policy. Select Google Privacy policy if you use Google tracking services.
- Preferences: Let visitors choose which cookies they allow: Personalization cookies, Marketing cookies, and Analytics cookies. Strictly required cookies are always on.
- Pre-check all cookie categories: Choose whether the cookie categories are selected in advance.
- Regions to show: Choose All countries, or Custom regions: Europe (GDPR), US (CCPA and US state laws), Brazil (LGPD), Canada (PIPEDA), or Japan (APPI).
- The visitor's choice is stored on their device for 30 days. The banner can appear again if they switch browsers or devices, or clear their cookies.
- Lavar sends the visitor's consent to Shopify. You can review it in your Shopify admin under Settings → Customer privacy → Cookie banner → View consent log.
Step 4: Customize content
Open Content to edit the text. You can keep the default text if no changes are needed.
- Cookie content: The text on the banner: the Header, the Confirmation text, the button texts, and the policy link labels.
- Preferences popup content: The text in the Preferences popup: its header and description, and the title and description of each cookie category.
Step 5: Customize appearance
Open Appearance to adjust the layout and colors.
- Display as: Choose Popup or Horizontal bar.
- Position: Choose where the banner appears on Desktop and Mobile.
- Colors: Change the colors using the color swatches or hex codes. Adjust the percentage to change opacity.
Check the Preview panel to review the banner. If you change any settings, click Save at the top, then check the banner on your storefront.
Need help?
If the banner doesn't show for visitors in the regions you selected, or keeps showing after they accept, email us at [email protected] with your store URL, and we'll check it for you.