Requires the Google Analytics 4 PRO extension.
Transform your Magento 2 store's marketing capabilities with our Klaviyo API integration. This powerful solution establishes a direct, secure connection between your e-commerce data and Klaviyo's marketing platform, enabling precise customer tracking and enhanced campaign optimization across all channels.
Designed specifically for Magento 2 merchants, this server-side implementation ensures reliable data collection and accurate customer tracking, even in environments with strict privacy settings or ad blockers.
Bypass browser limitations and tracking prevention tools with server-side implementation, ensuring comprehensive data collection for all customer interactions and behaviors on your Magento 2 store.
Meet modern privacy standards while maximizing marketing effectiveness. Our server-side integration gives you granular control over data sharing, ensuring compliance with privacy regulations while maintaining optimal campaign performance.
Stay ahead of browser changes and privacy updates with a hybrid tracking approach that combines server-side reliability with client-side flexibility, ensuring consistent performance as digital marketing evolves.
Consolidate your Magento 2 store's marketing data through a single, reliable API connection. Streamline tracking implementation while ensuring consistent measurement across all customer touchpoints and marketing channels.
Customer interacts with your Magento 2 store (purchases, cart updates, product views)
Server-side tracking captures event data with 100% reliability
Secure data transmission to Klaviyo via the official API
Real-time customer data appears in your Klaviyo dashboard
The following diagram illustrates the seamless integration between your Magento 2 store, Klaviyo server-side tracking, and the Klaviyo API:
To use the Klaviyo API Addon, you'll need the following:
php bin/magento deploy:mode:set developer
Copy the extension files to your Magento 2 instance:
app/code/WeltPixel/GA4KlaviyoSS
Run the following commands in your Magento root directory:
php bin/magento module:enable WeltPixel_GA4KlaviyoSS --clear-static-content
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
If your store was in production mode, switch it back:
php bin/magento deploy:mode:set production
app/code/WeltPixel/GA4KlaviyoSS
before upgrading.
The extension may be refactored and old unused files may cause random issues, so it's best to only keep the latest version of the files.
Follow the normal installation instructions above.
Important Notice: To gain access to your Klaviyo Public API Key, you'll need to have a Klaviyo account. You can find your API key in your Klaviyo account under Settings → API Keys. This is crucial as you won't be able to use the server-side tracking without it.
Admin → WeltPixel → Google Analytics 4 Ecommerce PRO → Klaviyo API Settings
When enabled, the server-side Klaviyo functionality will use the Klaviyo Javascript Tracking code you configured in the section above.
Input your Klaviyo Private API Key. To find or generate a key, see the Klaviyo documentation.
In cases in which an email address is not available (for example, in a new session), Klaviyo automatically creates a new profile for the user browsing your website. If you don't want this to happen, and want to send events to Klaviyo only when the user is logged in, set this to Yes.
Select the events you wish to send to Klaviyo via the API. Available options are:
Note: Make sure the Enable Klaviyo Pixel Tracking
option in the section above is set to Yes
, and that you've added your Klaviyo Pixel Tracking Public API Key
.
Set this option to Yes if you want to send events via the frontend Klaviyo tracking as well. This may (in some cases) enrich your data.
Enable the creation of a log file that shows the pushed event data. The klaviyo-api.log file can be found in the var/log directory of Magento 2 root.
Access our comprehensive documentation in the Knowledge Base for detailed setup and configuration instructions.
Our dedicated support team is ready to assist you with any technical issues or questions you may encounter during setup and usage.
Stay current with regular updates ensuring compatibility with the latest Magento versions and Klaviyo API changes.
The Klaviyo API Addon is an extension that enables server-side tracking of customer events from your Magento 2 store to Klaviyo, providing more accurate and reliable tracking data.
Yes, this addon requires the Google Analytics 4 PRO extension to be installed and configured on your Magento 2 store.
The addon supports tracking of various events including purchases, add to cart actions, product views, wishlist additions, checkout steps, and more.
All data is transmitted securely using Klaviyo's official API endpoints with authentication and encryption.
Future updates will include additional features and enhancements to the Klaviyo API Addon.