var _smartsupp = _smartsupp || {}; _smartsupp.key = '153a1853fdb05ddabb936a3dc95cb4f5214f0461'; _smartsupp.cookieDomain = '.farmaciagloria.mx'; _smartsupp.sitePlatform = 'Prestashop 1.7.7.2'; window.smartsupp||(function(d) { var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[]; s=d.getElementsByTagName('script')[0];c=d.createElement('script'); c.type='text/javascript';c.charset='utf-8';c.async=true; c.src='//www.smartsuppchat.com/loader.js';s.parentNode.insertBefore(c,s); })(document); var smartusappkey = "0c9672e91cf18ec2e53100b97dbfad76ae6db953" var alcafbp_id = 692722502049049; var alcafbp_type = 'ViewCategory'; var alcafbp_content = {content_name: 'Alimentos y bebidas (ES)', content_category: 'Inicio > Alimentos y bebidas', content_ids: ['11', '24', '332', '376', '377', '378', '379', '380', '430', '503'], content_type: 'product'}; var alcafbp_track = 'trackCustom'; var alcafbp_controller = 'category'; var alcafbp_category_product = ''; var alcafbp_contact = '0'; !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '692722502049049'); fbq('track', 'PageView');
(function() { window.sib = { equeue: [], client_key: "8gai6rwzxyb20b7dkf8ouysu" }; window.sendinblue = { } ; for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) { (function(k) { window.sendinblue[k] = function() { var arg = Array.prototype.slice.call(arguments); (window.sib[k] || function() { var t = { } ; t[k] = arg; window.sib.equeue.push(t); })(arg[0], arg[1], arg[2]); }; })(j[i]); } var n = document.createElement("script"), i = document.getElementsByTagName("script")[0]; n.type = "text/javascript", n.id = "sendinblue-js", n.async = !0, n.src = "https://sibautomation.com/sa.js?key=" + window.sib.client_key, i.parentNode.insertBefore(n, i), window.sendinblue.page(); })();
window.addEventListener("load",e=>{function t(){0!=$("span.indexeomarketing-js-search").length&&$(".indexeomarketing-js-search").each(function(e,t){let a=$("").html($.trim($(this).html()));$.each(this.attributes,function(e,t){"data-href"==t.name?a.attr("href",t.value):a.attr(t.name,t.value)}),$(this).replaceWith(a)})}t(),setInterval(t,1500)});

// Instantiate the tracking class var rcAnalyticsEvents = new RcAnalyticsEvents(); // page controller var controllerName = 'category'; var compliantModules = {"default":"order","supercheckout":"supercheckout","onepagecheckoutps":"order","sveacheckout":"sveapaypage","thecheckout":"order","steasycheckout":"default"}; var compliantModuleName = 'default'; var skipCartStep = ''; var isOrder = ''; var isCheckout = ''; var isClientId = 0; var gaOrder; var gaProducts; //////////////////////////// // set tracking features rcAnalyticsEvents.trackingFeatures = {"analyticsId":"UA-206850117-1","adwordsId":"AW-304797200","adwordsCl":"e5L_CMKU0_YCEJCsq5EB","productSendRate":10,"merchantPrefix":"","merchantSuffix":"","merchantVariant":"","businessDataPrefix":"","businessDataVariant":"","currency":"MXN","idShop":1,"productsPerPage":24,"cartAjax":1,"token":"a9b86829a7a41e60e7b65f79b9b5e76d","disableInternalTracking":false,"signUpTypes":["new customer","guest customer"],"isNewSignUp":false,"isGuest":0,"checkDoNotTrack":1,"config":{"optimizeId":"","simpleSpeedSampleRate":1,"anonymizeIp":1,"linkAttribution":1,"userIdFeature":1,"userIdValue":null,"remarketing":1,"crossDomainList":"","clientId":0,"businessData":0,"customDimensions":{"ecommProdId":3,"ecommPageType":4,"ecommTotalValue":5,"ecommCategory":6,"dynxItemId":5,"dynxItemId2":6,"dynxPageType":7,"dynxTotalValue":8}},"goals":{"signUp":1,"socialAction":1},"eventValues":{"signUp":0,"socialAction":0}}; // set checkout values rcAnalyticsEvents.controllerName = controllerName; rcAnalyticsEvents.isCheckout = isCheckout; rcAnalyticsEvents.compliantModuleName = compliantModuleName; rcAnalyticsEvents.skipCartStep = skipCartStep; // list names rcAnalyticsEvents.lists = {"default":"category","filter":"filtered_results"}; // Google remarketing - page type rcAnalyticsEvents.ecommPageType = 'category'; // get products list to cache rcAnalyticsEvents.productsListCache = {"11-0":{"id":"11","id_product":"11","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ACEITE CAPULLO BOTE CON 945 ML","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7502223770461","supplier_reference":"","ean13":"7502223770461","price_amount":60.97999999999999687361196265555918216705322265625},"24-0":{"id":"24","id_product":"24","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ACEITE PATRONA BOTE CON 1 LITRO","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501060501221","supplier_reference":"","ean13":"7501060501221","price_amount":52.0799999999999982946974341757595539093017578125},"332-0":{"id":"332","id_product":"332","id_category_default":"267","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ARROZ S\u00daPER EXTRA DE 1 KG","category":"Enlatados_y_conservas","category_name":"Enlatados y conservas","reference":"7501379120045","supplier_reference":"","ean13":"7501379120045","price_amount":30},"376-0":{"id":"376","id_product":"376","id_category_default":"267","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"AT\u00daN DOLORES EN ACEITE LATA CON 140 G","category":"Enlatados_y_conservas","category_name":"Enlatados y conservas","reference":"7501045401423","supplier_reference":"","ean13":"7501045401423","price_amount":22.5},"377-0":{"id":"377","id_product":"377","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"AT\u00daN DOLORES EN AGUA LATA CON 140 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501045403144","supplier_reference":"","ean13":"7501045403144","price_amount":22.5},"378-0":{"id":"378","id_product":"378","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"AT\u00daN EN ACEITE TUNY LATA CON 140 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501041415844","supplier_reference":"","ean13":"7501041415844","price_amount":17.809999999999998721023075631819665431976318359375},"430-0":{"id":"430","id_product":"430","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"BARRITAS DE FRESA MARINELA DE 67 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501030427193","supplier_reference":"","ean13":"7501030427193","price_amount":14.8100000000000004973799150320701301097869873046875},"608-0":{"id":"608","id_product":"608","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CAF\u00c9 NESCAFE CAPUCCINO MOKA DE 22 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"0750105862916","supplier_reference":"","ean13":"0750105862916","price_amount":8.410000000000000142108547152020037174224853515625},"758-0":{"id":"758","id_product":"758","id_category_default":"9","id_manufacturer":"135","id_product_attribute":"0","cache_default_attribute":"0","name":"CHICLETS CLORETS CON 2 PASTILLAS","manufacturer_name":"MONDELEZ","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"0000075019907","supplier_reference":"","ean13":"0000000000000","price_amount":1.8300000000000000710542735760100185871124267578125},"759-0":{"id":"759","id_product":"759","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CHOCO ROLES MARINELA DE 122 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"0000075002275","supplier_reference":"","ean13":"0000075002275","price_amount":17.589999999999999857891452847979962825775146484375},"1048-0":{"id":"1048","id_product":"1048","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CUERNITOS T\u00cdA ROSA DE 100 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501000142705","supplier_reference":"","ean13":"7501000142705","price_amount":15.2799999999999993605115378159098327159881591796875},"1338-0":{"id":"1338","id_product":"1338","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"DULCE CREMINO BICOLOR DE 18 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"0000075024635","supplier_reference":"","ean13":"0000075024635","price_amount":2.5},"1690-0":{"id":"1690","id_product":"1690","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA CANELITAS DE 80 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501030497752","supplier_reference":"","ean13":"7501030497752","price_amount":17.589999999999999857891452847979962825775146484375},"1691-0":{"id":"1691","id_product":"1691","id_category_default":"293","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA CHOKIS PAKET\u00d3N 180 G","category":"Galletas_dulces","category_name":"Galletas dulces","reference":"7501000629497","supplier_reference":"","ean13":"7501000629497","price_amount":23.6099999999999994315658113919198513031005859375},"1692-0":{"id":"1692","id_product":"1692","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA CREMAX DE NIEVE FRESA DE 90 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501000606580","supplier_reference":"","ean13":"7501000606580","price_amount":14.8100000000000004973799150320701301097869873046875},"1693-0":{"id":"1693","id_product":"1693","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA CREMAX DE NIEVE VAINILLA DE 90 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501000606573","supplier_reference":"","ean13":"7501000606573","price_amount":14.8100000000000004973799150320701301097869873046875},"1694-0":{"id":"1694","id_product":"1694","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR CHOCOLATE DE 109 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7500478022496","supplier_reference":"","ean13":"7500478022496","price_amount":15.7400000000000002131628207280300557613372802734375},"1695-0":{"id":"1695","id_product":"1695","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR CHOCOLATE DE 222 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501000634330","supplier_reference":"","ean13":"7501000634330","price_amount":26.3900000000000005684341886080801486968994140625},"1696-0":{"id":"1696","id_product":"1696","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR COMBINADO DE 109 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7500478021581","supplier_reference":"","ean13":"7500478021581","price_amount":15.7400000000000002131628207280300557613372802734375},"1698-0":{"id":"1698","id_product":"1698","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR PIRUETAS DE 115 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7500478022502","supplier_reference":"","ean13":"7500478022502","price_amount":15.7400000000000002131628207280300557613372802734375},"1699-0":{"id":"1699","id_product":"1699","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR PIRUETAS DE 211 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7500478015108","supplier_reference":"","ean13":"7500478015108","price_amount":26.3900000000000005684341886080801486968994140625},"1700-0":{"id":"1700","id_product":"1700","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA EMPERADOR VAINILLA DE 109 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7500478022519","supplier_reference":"","ean13":"7500478022519","price_amount":15.7400000000000002131628207280300557613372802734375},"1701-0":{"id":"1701","id_product":"1701","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA FAVORITAS NUEZ DE 155 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501030421443","supplier_reference":"","ean13":"7501030421443","price_amount":15.7400000000000002131628207280300557613372802734375},"1702-0":{"id":"1702","id_product":"1702","id_category_default":"9","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GALLETA FAVORITAS VAINILLA DE 155 G","category":"Alimentos_y_bebidas","category_name":"Alimentos y bebidas","reference":"7501030421450","supplier_reference":"","ean13":"7501030421450","price_amount":15.7400000000000002131628207280300557613372802734375}}; // Listing products ///////////////////////////////// // init gtag rcAnalyticsEvents.sendGtagConfig('analyticsId'); rcAnalyticsEvents.sendGtagConfig('adwordsId'); /////////////////////////////////////////////// // Initialize all user events when DOM ready document.addEventListener('DOMContentLoaded', initTrackingEvents, false); window.addEventListener('pageshow', fireEventsOnPageShow, false); /////////////////////////////////////////////// function initTrackingEvents() { // Events binded on all pages // Events binded to document.body to avoid firefox fire events on right/central click document.body.addEventListener('click', rcAnalyticsEvents.eventClickPromotionItem, false); // bind prestashop events with tracking events prestashop.on( 'updateCart', function (event) { rcAnalyticsEvents.eventAddCartProduct(event); } ); prestashop.on( 'clickQuickView', function (event) { rcAnalyticsEvents.eventProductView(event) } ); prestashop.on( 'updatedProduct', function (event) { rcAnalyticsEvents.eventProductView(event) } ); if (!isCheckout && !isOrder) { // init first scroll action for those products all ready visible on screen rcAnalyticsEvents.eventScrollList(); // bind event to scroll window.addEventListener('scroll', rcAnalyticsEvents.eventScrollList, false); // init Event Listeners document.body.addEventListener('click', rcAnalyticsEvents.eventClickProductList, false); document.body.addEventListener('click', rcAnalyticsEvents.eventGetAddCartQuantity, false); if (rcAnalyticsEvents.trackingFeatures.goals.socialAction) { document.body.addEventListener('click', rcAnalyticsEvents.eventSocialShareProductView, false); } //////////////////////// // SEARCH PAGE if (controllerName === 'search') { rcAnalyticsEvents.onSearchResults(); } //////////////////////// // PRODUCT PAGE if (controllerName === 'product') { // send product detail view rcAnalyticsEvents.eventProductView(); } } //////////////////////// // CHECKOUT PROCESS if (isCheckout) { // SUMMARY CART if (controllerName === 'cart') { // events on summary Cart document.body.addEventListener('click', rcAnalyticsEvents.eventCartQuantityDelete, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartQuantityUp, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartQuantityDown, false); } //////////////////////// // CHECKOUT if (compliantModuleName === 'default' && controllerName === 'order') { // Events on Checkout Process document.body.addEventListener('click', rcAnalyticsEvents.eventPrestashopCheckout, false); } else if ( compliantModuleName === 'supercheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with super-checkout by Knowband document.body.addEventListener('click', rcAnalyticsEvents.eventOpcSuperCheckout, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartOpcSuperCheckout, false); } else if ( compliantModuleName === 'onepagecheckoutps' && controllerName === compliantModules[compliantModuleName] ) { // compatible with OPC by PrestaTeamShop document.body.addEventListener('click', rcAnalyticsEvents.eventOpcPrestaTeam, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartOpcPrestaTeam, false); } else if ( compliantModuleName === 'thecheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with thecheckout by Zelarg document.body.addEventListener('click', rcAnalyticsEvents.eventOpcTheCheckout, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartOpcTheCheckout, false); } else if ( compliantModuleName === 'steasycheckout' && controllerName === compliantModules[compliantModuleName] ) { // Events for steasycheckout document.body.addEventListener('click', rcAnalyticsEvents.eventOpcStEasyCheckout, false); document.body.addEventListener('click', rcAnalyticsEvents.eventCartOpcStEasyCheckout, false); } } } function fireEventsOnPageShow(event){ // fixes safari back cache button if (event.persisted) { window.location.reload() } // Sign up feature if (rcAnalyticsEvents.trackingFeatures.goals.signUp && rcAnalyticsEvents.trackingFeatures.isNewSignUp) { rcAnalyticsEvents.onSignUp(); } if (isClientId) { rcAnalyticsEvents.setClientId(); } // Checkout and order complete if (isCheckout && gaProducts) { rcAnalyticsEvents.onCheckoutProducts(gaProducts); } else if (isOrder && gaOrder && gaProducts) { rcAnalyticsEvents.onAddOrder(gaOrder, gaProducts, rcAnalyticsEvents.trackingFeatures.idShop); } }