Adobe Commerce (Magento 2) Integration
Deploy Consent Shield AI to Adobe Commerce & Magento 2 enterprise installations with multi-storefront governance, Full Page Cache (Varnish) compatibility, and headless PWA Studio GraphQL support.
VARNISH
FPC Compatible
Zero cache hole-punching required. Runs asynchronously on top of Varnish and Fastly Full Page Caching.
GRAPHQL
PWA Studio APIs
Native schema extensions for headless Adobe Commerce storefronts.
Step 01: Composer Module Installationโ
Install the official integration module into your Magento root directory:
composer require consentshield/magento2-module
php bin/magento module:enable ConsentShield_Privacy
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
Step 02: Admin Store Configurationโ
- In the Magento Admin panel, navigate to Stores โ Configuration โ Consent Shield โ General Settings.
- Set Enabled to
Yes. - Input your Site ID (
CS-LIVE-PROD). - Set Cookie Restriction Mode to
Consent Shield AI Managed. - Save configuration and flush cache.
Step 03: Headless GraphQL Schema Extensionโ
For Adobe Commerce PWA Studio and decoupled frontends, query consent policy schemas directly via GraphQL:
query GetConsentShieldPolicy($storeId: String!) {
consentShieldPolicy(store_id: $storeId) {
site_id
default_state
required_categories
gpc_enforced
}
}
Verify Adobe Commerce Compliance
Audit your Magento multi-store checkouts and third-party extensions for tracker leaks and statutory exposure.