]> _ Git - fluidbook-html5.git/commitdiff
wip #4046 @0:15
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 16 Nov 2020 12:18:38 +0000 (13:18 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 16 Nov 2020 12:18:38 +0000 (13:18 +0100)
js/libs/fluidbook/cart/fluidbook.cart.mopec.js

index 71b2479160fbeb76813102d15caca2e5b0240dff..fcea79a5cf0e96200ba6916253db417a77714016 100644 (file)
@@ -90,6 +90,7 @@ FluidbookCartMopec.prototype = {
             return;
         }
         this.fluidbook.displayLoader();
+        this.fluidbook.stats._ga('event', 'Fluidbook', 'add_to_cart', ref);
 
         this.getProductIDBySKU(ref, function (product_id) {
             if (product_id === null) {