Take your Adobe Commerce store to new heights with the power of MagePal extensions. Our expertly crafted code and rigorous testing ensure seamless integration with Adobe Commerce, giving you the freedom to focus on growing your business, not debugging. Upgrade your store's potential with MagePal.
Please Note: The settings below require our Datalayer for Google Tag Manager for Magento and some features also require our Enhanced Ecommerce or Google Analytics 4 extensions.
Tag Configuration
Tag type : Custom Html
Trigger Configuration
Trigger: All Custom Events
Event Name : addToCart
HTML
<script>
require(['DataLayerProductApi'], function (dataLayerProductApi) {
var product = dataLayerProductApi();
window.WonderPush = window.WonderPush || [];
WonderPush.push(function() {
var message = null; // Optional: adapt if you wish to customize the notification text
var items = product.getAddedToCartItems();
items.forEach(function(item) {
WonderPush.putProperties({
string_cartReminderProductName: item.name,
string_cartReminderPictureUrl: item.image_url,
string_cartReminderMessage: message,
string_cartReminderUrl: item.url,
});
}
});
});
</script>
Total Downloads
years experience with Magento
Magento / Adobe Commerce Extensions
With millions of downloads worldwide, install with confidence knowing that our extensions will just work.
Is your Magento store ready for the future? Say hello to the new Google Analytics 4, which is built from the ground up with all-new features and advanced machine learning technology.
If your are using Magento + Google Analytics, then you need Enhanced E-commerce for Google Tag Manager.
Whether you are integrating Bing, Facebook, SnapChat, Pinterest, or any other services our extension make it easy.
Quickly previewing alternative product images on your category list page.