Klaviyo Hyva Theme Compatibility
pixelperfectat/magento2-klaviyo-hyva-compat 65
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.
Build Tests
Code Quality
Release Discipline
Release history audited up to vv0.2.0
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubKlaviyo Hyva Theme Compatibility
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.
Requirements
- PHP 8.3+
- Magento 2.4.x
- Hyvä Theme (
hyva-themes/magento2-compat-module-fallback^1.0) klaviyo/magento2-extension^4.0
Features
- 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)
Installation
composer require pixelperfectat/magento2-klaviyo-hyva-compat
bin/magento module:enable PixelPerfect_KlaviyoHyvaCompat
bin/magento setup:upgrade
Configuration
No configuration required — the module only registers Klaviyo blocks/templates under Hyvä via the compat-module-fallback mechanism.
License
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.