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!

Enhanced Transactional Emails

Get more from your order confirmation emails by promoting other complementary products.

HTML Minifier for Magento2

Minification is the process of removing all unnecessary characters and spacing from your source code without changing its functionality.

DataLayer for Tag Manager

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