Klaviyo Hyva Theme Compatibility
pixelperfectat/magento2-klaviyo-hyva-compat
Makes the Klaviyo (Klaviyo_Reclaim) extension work with Hyva themes, providing CSP-strict customer identification via Alpine.js, viewed-product tracking, and cart reload tracking using the fetch API instead of RequireJS/jQuery.
Supported Magento versions: 2.4.9
345 installs★ 1 starsLatest: v0.2.0Released 2026-07-06License: MIT
composer require pixelperfectat/magento2-klaviyo-hyva-compatREADME
Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.
Hyva Theme compatibility module for Klaviyo_Reclaim (klaviyo/magento2-extension).
Based on hyva-themes/magento2-klaviyo-reclaim — rewritten with CSP strict compatibility under the PixelPerfect namespace.
- PHP 8.3+
- Magento 2.4.x
- Hyvä Theme (
hyva-themes/magento2-compat-module-fallback^1.0) klaviyo/magento2-extension^4.0
- Customer identification via Alpine.js (replaces RequireJS customer-data)
- Product view tracking (Viewed Product + trackViewedItem events)
- Cart reload tracking (replaces jQuery AJAX with fetch API)
- CSP strict compatible (HyvaCsp ViewModel pattern)
composer require pixelperfectat/magento2-klaviyo-hyva-compat bin/magento module:enable PixelPerfect_KlaviyoHyvaCompat bin/magento setup:upgrade
No configuration required — the module only registers Klaviyo blocks/templates under Hyvä via the compat-module-fallback mechanism.
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues