DataLayer for Google Tag Manager
How To Configure
DataLayer for Google Tag Manager

Adding Norton Shopping Guarantee to Magento

Please Note: The settings below require our Datalayer for Google Tag Manager for Magento and some features also require our Enhanced Ecommerce extension.

Purchase
Tag Configuration
  Tag type : Custom Html

Trigger Configuration
  Trigger: All Custom Events
  Event Name : purchase

HTML

<script type="text/javascript" src="//nsg.symantec.com/Web/Seal/gjs.aspx?SN=XXXXXXXXX"></script>
<script>
require(['DataLayerPurchaseApi'], function (dataLayerPurchaseApi) {
    var purchase = dataLayerPurchaseApi();
    
    if (window._GUARANTEE && _GUARANTEE.Loaded) {
      _GUARANTEE.Guarantee.order    = purchase.getOrderId();
      _GUARANTEE.Guarantee.subtotal = purchase.getOrderSubTotal();
      _GUARANTEE.Guarantee.currency = purchase.getCurrencyCode();
      _GUARANTEE.Guarantee.email    = purchase.getEmail();
      _GUARANTEE.WriteGuarantee();
    }  
});
</script>
Related

Related Extensions

Get more from your Magento2 store!

DataLayer for Tag Manager

Whether you are integrating Bing, Facebook, SnapChat, Pinterest, or any other services our extension make it easy.

Catalog Hover Image for Magento

Quickly previewing alternative product images on your category list page.

Magento Enhanced E-commerce

If your are using Magento + Google Analytics, then you need Enhanced E-commerce for Google Tag Manager.