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: 'Higiene y belleza (ES)', content_category: 'Inicio > Higiene y belleza', content_ids: ['45', '46', '47', '48', '108', '177', '178', '211', '212', '341'], 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 = {"3823-0":{"id":"3823","id_product":"3823","id_category_default":"189","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"TOALLAS H\u00daMEDAS ADULTO DEPEND SIN ALCOHOL CON 42 PIEZAS","category":"Toallas_para_incontinencia","category_name":"Toallas para incontinencia","reference":"7501943471603","supplier_reference":"","ean13":"7501943471603","price_amount":37.56000000000000227373675443232059478759765625},"3793-0":{"id":"3793","id_product":"3793","id_category_default":"159","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"TINTE JUST FOR MEN CASTA\u00d1O BARBA Y BIGOTE","category":"Tinte_masculino","category_name":"Tinte masculino","reference":"7501080111431","supplier_reference":"","ean13":"7501080111431","price_amount":170.020000000000010231815394945442676544189453125},"3698-0":{"id":"3698","id_product":"3698","id_category_default":"209","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"TAMPAX PEARL SUPER CON 8 PIEZAS","category":"Toallas_y_tampones","category_name":"Toallas y tampones","reference":"7506295369387","supplier_reference":"","ean13":"7506295369387","price_amount":39.8599999999999994315658113919198513031005859375},"3667-0":{"id":"3667","id_product":"3667","id_category_default":"163","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"TALCO AMMENS FRESCO AROMA CON 250 G","category":"Talco_y_antimicoticos","category_name":"Talco y antimic\u00f3ticos","reference":"7502221182150","supplier_reference":"","ean13":"7502221182150","price_amount":45.46000000000000085265128291212022304534912109375},"3663-0":{"id":"3663","id_product":"3663","id_category_default":"175","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"TALCO AMMENS ALOE VERA CON 250 G","category":"Talcos","category_name":"Talcos","reference":"7502221182242","supplier_reference":"","ean13":"7502221182242","price_amount":45.46000000000000085265128291212022304534912109375},"3374-0":{"id":"3374","id_product":"3374","id_category_default":"150","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"SHAMPOO CAPRICE ACTI-CERAMIDAS 2 EN 1 CON 750 ML","category":"Shampoo","category_name":"Shampoo","reference":"7509546072760","supplier_reference":"","ean13":"7509546072760","price_amount":48},"2851-0":{"id":"2851","id_product":"2851","id_category_default":"178","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PA\u00d1UELO KLEENEX ANTIVIRAL CON 80 PIEZAS","category":"Papel_higienico_y_panuelos","category_name":"Papel higi\u00e9nico y pa\u00f1uelos","reference":"7501943476318","supplier_reference":"","ean13":"7501943476318","price_amount":35.61999999999999744204615126363933086395263671875},"2819-0":{"id":"2819","id_product":"2819","id_category_default":"188","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PA\u00d1AL PARA ADULTO DEPEND PREDOBLADO UNITALLA CON 10 PIEZAS","category":"Salvacamas","category_name":"Salvacamas","reference":"7501943453265","supplier_reference":"","ean13":"7501943453265","price_amount":74.7099999999999937472239253111183643341064453125},"2801-0":{"id":"2801","id_product":"2801","id_category_default":"210","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PANTI PROTECTORES KOTEX REGULAR O TANGA CON 22 PIEZAS","category":"Pantiprotectores","category_name":"Pantiprotectores","reference":"7501943431317","supplier_reference":"","ean13":"7501943431317","price_amount":15.53999999999999914734871708787977695465087890625},"2468-0":{"id":"2468","id_product":"2468","id_category_default":"160","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"MEDICASP SHAMPOO CON 130 ML","category":"Shampoo_profesionales_y_tratamientos_capilares","category_name":"Shampoo profesionales y tratamientos capilares","reference":"0650240007019","supplier_reference":"","ean13":"0000000000000","price_amount":107.5},"2204-0":{"id":"2204","id_product":"2204","id_category_default":"143","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"LABELLO FRESA CON 4.8 G","category":"Protector_y_balsamo_labial","category_name":"Protector y b\u00e1lsamo labial","reference":"7501054507901","supplier_reference":"","ean13":"7501054507901","price_amount":46.030000000000001136868377216160297393798828125},"2043-0":{"id":"2043","id_product":"2043","id_category_default":"168","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"JAB\u00d3N CAMAY CL\u00c1SICO CON 150 G","category":"Jabon_de_tocador","category_name":"Jab\u00f3n de tocador","reference":"7501006713381","supplier_reference":"","ean13":"7501006713381","price_amount":15.160000000000000142108547152020037174224853515625},"1911-0":{"id":"1911","id_product":"1911","id_category_default":"139","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"HILO DENTAL ORAL-B ESSENTIAL FLOSS CON 50 M","category":"Hilo_dental","category_name":"Hilo dental","reference":"7800005082123","supplier_reference":"","ean13":"7800005082123","price_amount":59.36999999999999744204615126363933086395263671875},"1779-0":{"id":"1779","id_product":"1779","id_category_default":"176","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"GEL ANTIBACTERIAL 70\u00b0 MAH DE 1000 ML","category":"Higiene_y_cuidado_para_manos","category_name":"Higiene y cuidado para manos","reference":"4820287750783","supplier_reference":"","ean13":"4820287750783","price_amount":113.150000000000005684341886080801486968994140625},"1585-0":{"id":"1585","id_product":"1585","id_category_default":"155","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"FERMODYL REHIDRATACI\u00d3N PROFUNDA CON 6 AMPOLLETAS","category":"Tratamiento_capilar","category_name":"Tratamiento capilar","reference":"0650240026126","supplier_reference":"","ean13":"0650240026126","price_amount":74.2600000000000051159076974727213382720947265625},"1503-0":{"id":"1503","id_product":"1503","id_category_default":"199","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ESTUCHE ADIDAS WOMEN FRUITY RHYTHM CON AGUA DE TOCADOR + GEL DE DUCHA","category":"Productos_destacados","category_name":"Productos destacados","reference":"3617224882976","supplier_reference":"","ean13":"3617224882976","price_amount":165.770000000000010231815394945442676544189453125},"1502-0":{"id":"1502","id_product":"1502","id_category_default":"173","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ESTROPAJO DE TELA EXFOLIANTE ADULTO T-TAIO","category":"Accesorios_para_la_ducha","category_name":"Accesorios para la ducha","reference":"7501103300224","supplier_reference":"","ean13":"7501103300224","price_amount":21.559999999999998721023075631819665431976318359375},"1422-0":{"id":"1422","id_product":"1422","id_category_default":"138","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ENJUAGUE BUCAL ASTRINGOSOL FRESCA PROTECCI\u00d3N CON 220 ML","category":"Enjuague_bucal","category_name":"Enjuague bucal","reference":"7501065042019","supplier_reference":"","ean13":"7501065042019","price_amount":48.909999999999996589394868351519107818603515625},"1153-0":{"id":"1153","id_product":"1153","id_category_default":"171","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"DESODORANTE EN AEROSOL MAJA CON 130 ML","category":"Desodorantes_y_antitranspirantes_para_mujer","category_name":"Desodorantes y antitranspirantes para mujer","reference":"7501046109465","supplier_reference":"","ean13":"7501046109465","price_amount":55.6400000000000005684341886080801486968994140625},"1142-0":{"id":"1142","id_product":"1142","id_category_default":"170","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"DESODORANTE EN AEROSOL AXE APOLLO CON 150 ML","category":"Desodorantes_y_antitranspirantes_para_hombre","category_name":"Desodorantes y antitranspirantes para hombre","reference":"7791293025780","supplier_reference":"","ean13":"7791293025780","price_amount":46.77000000000000312638803734444081783294677734375},"989-0":{"id":"989","id_product":"989","id_category_default":"169","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CREMA DOVE DELICIOUS CARE COCO DE 400 ML","category":"Crema_corporal","category_name":"Crema corporal","reference":"7506306202320","supplier_reference":"","ean13":"7506306202320","price_amount":67.7699999999999960209606797434389591217041015625},"953-0":{"id":"953","id_product":"953","id_category_default":"137","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CREMA DENTAL COLGATE CL\u00c1SICA DE 100 ML","category":"Pasta_dental","category_name":"Pasta dental","reference":"7501035911031","supplier_reference":"","ean13":"7501035911031","price_amount":37.659999999999996589394868351519107818603515625},"744-0":{"id":"744","id_product":"744","id_category_default":"140","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CERA PARA BRAKETS DENTEK CON 2 PAQUETES","category":"Articulos_especializados","category_name":"Art\u00edculos especializados","reference":"0047701000335","supplier_reference":"","ean13":"0047701000335","price_amount":46.840000000000003410605131648480892181396484375},"713-0":{"id":"713","id_product":"713","id_category_default":"136","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CEPILLO DENTAL DURO PRO-DOBLE ACCI\u00d3N","category":"Cepillo_dental","category_name":"Cepillo dental","reference":"7501086472017","supplier_reference":"","ean13":"7501086472017","price_amount":27.089999999999999857891452847979962825775146484375}}; // 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); } }