A Shopware 6 plugin that provides GDPR-compliant integration of the Brevo Chat Widget with configurable consent management and seamless Shopware cookie integration.
- Easy integration of Brevo Chat Widget
- GDPR-compliant implementation with cookie consent management
- Integration with Shopware's native cookie consent system
- Configurable consent types (with/without consent)
- Admin configuration for Brevo Conversations ID
- Automatic widget loading based on consent status
- Multi-language support (German & English)
- Compatible with Shopware 6.6.10 - 6.7.x
- Shopware 6.6.10 or higher (up to 6.7.x)
- PHP 8.3 or higher
- Valid Brevo account with Conversations feature
- Download or clone this plugin into your
custom/plugins/directory - Install and activate the plugin via CLI:
bin/console plugin:refresh bin/console plugin:install --activate ActBrevoChatWidget bin/console cache:clear
- Go to Admin Panel → Settings → System → Plugins
- Find "Actualize: Brevo Chat Widget" and click on the three dots
- Click "Config" to access plugin settings
- Brevo Chat Widget Active: Enable/disable the chat widget
- Brevo Conversations ID: Your unique Brevo Conversations ID from your Brevo account
- Cookie Consent Type: Choose between:
none: Widget loads without consent (not GDPR compliant)shopware: Widget loads only after user accepts cookies via Shopware's cookie consent
- Shopware Cookie Consent: When enabled, the plugin registers a new cookie group in Shopware's cookie management
- User Consent: The chat widget only loads after the user accepts the "Chat" cookie category
- Cookie Management: Users can revoke consent at any time through Shopware's cookie preferences
- Configuration Check: Plugin verifies that chat widget is enabled and Conversations ID is provided
- Consent Verification: Checks user's cookie consent status (if Shopware consent is enabled)
- Widget Initialization: Loads Brevo chat widget script when all conditions are met
- Dynamic Loading: Widget respects real-time consent changes without page reload
PageLoadedEvent- To inject chat widget configuration into all storefront pages
- Registers custom cookie group for chat functionality
- Integrates with Shopware's
CookieProviderInterface - Provides proper cookie descriptions and expiration settings
- Injects widget configuration variables into Twig templates
- Supports conditional loading based on consent status
- No template modifications required - uses Shopware's extension system
After making changes:
bin/console cache:clear
bin/console theme:compile- Check browser console for chat widget loading errors
- Verify Brevo Conversations ID in plugin configuration
- Test cookie consent functionality in browser developer tools
- Log into your Brevo account
- Navigate to Conversations → Settings
- Go to Installation tab
- Copy the Conversations ID from the widget installation code
- Enter this ID in the plugin configuration
- Cookie Name:
brevo-chat-widget - Purpose: Stores chat widget preferences and session data
- Expiration: 30 days
- Type: Functional/Marketing (depending on usage)
- User consent required before loading widget (when Shopware consent is enabled)
- Clear cookie descriptions in multiple languages
- Easy consent withdrawal through Shopware's cookie preferences
- No data collection without explicit user consent
- Shopware Version: 6.6.10 - 6.7.x
- PHP Version: 8.3+
- Brevo Integration: Compatible with current Brevo Conversations API
- Cookie Consent: Integrates with Shopware's native cookie management
For issues and feature requests, please use the GitHub issue tracker.
This plugin is licensed under the MIT License - see the LICENSE file for details.
Developed by Actualize
Made with ❤️ for the Shopware Community