Livermore & Dublin Area – Express Delivery

// DutchieEmbed.onAnalyticsEvent((data) => // calls the handler function every time there is an analytics event // returns an unlisten method to clean up the handler const unlisten = DutchieEmbed.onAnalyticsGAEvent((data) => { console.log(data.event); // example: "ec:addImpression" console.log(data.payload); /* example: [{ id: "abcdefghijk", name: "Great Product", category: "Flower", variant: "Indica", position: 1 }] */ window.ga(data.event, data.payload) // Send events directly to Google Analyt }); // stop listening by executing the return value: // unlisten();