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: 'Dermocosmeticos (ES)', content_category: 'Inicio > Dermocosméticos', content_ids: ['43', '234', '338', '339', '340', '398', '399', '751', '752', '753'], 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 = {"2203-0":{"id":"2203","id_product":"2203","id_category_default":"113","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"LA ROCHE POSAY LIPIKAR SURGRAS JAB\u00d3N PARA PIEL SECA E IRRITADA DE 150 G","category":"Emolientes","category_name":"Emolientes","reference":"3433422404533","supplier_reference":"","ean13":"0000000000000","price_amount":171.539999999999992041921359486877918243408203125},"338-0":{"id":"338","id_product":"338","id_category_default":"126","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ASEPXIA FORTE JAB\u00d3N DE 100 G","category":"Tratamientos","category_name":"Tratamientos","reference":"0650240004292","supplier_reference":"","ean13":"0650240004292","price_amount":25.8599999999999994315658113919198513031005859375},"43-0":{"id":"43","id_product":"43","id_category_default":"39","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ACNAID JAB\u00d3N DE 100 G","category":"Geles","category_name":"Geles","reference":"7501406870097","supplier_reference":"","ean13":"7501406870097","price_amount":145.509999999999990905052982270717620849609375},"2268-0":{"id":"2268","id_product":"2268","id_category_default":"113","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"LETI AT4 CREMA FACIAL CON 50 ML","category":"Emolientes","category_name":"Emolientes","reference":"7501089804396","supplier_reference":"","ean13":"0000000000000","price_amount":329.58999999999997498889570124447345733642578125},"757-0":{"id":"757","id_product":"757","id_category_default":"117","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CETAPHIL LOCI\u00d3N HUMECTANTE DE 237 ML","category":"Hidratantes","category_name":"Hidratantes","reference":"7502003560541","supplier_reference":"","ean13":"7502003560541","price_amount":210.469999999999998863131622783839702606201171875},"3212-0":{"id":"3212","id_product":"3212","id_category_default":"113","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"REMEXA OLEODERM CREMA DE ACEITE DE ALMENDRAS DULCES E HIDROXIDO CON 100 ML","category":"Emolientes","category_name":"Emolientes","reference":"7501273500349","supplier_reference":"","ean13":"7501273500349","price_amount":144.789999999999992041921359486877918243408203125},"1512-0":{"id":"1512","id_product":"1512","id_category_default":"110","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"EUCERIN PH5 CREMA LIQUIDA CON 250 ML","category":"Cremas","category_name":"Cremas","reference":"7501054530107","supplier_reference":"","ean13":"0000000000000","price_amount":242.080000000000012505552149377763271331787109375},"1236-0":{"id":"1236","id_product":"1236","id_category_default":"117","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"DEXERYL CREMA CON 250 G","category":"Hidratantes","category_name":"Hidratantes","reference":"3282776432026","supplier_reference":"","ean13":"0000000000000","price_amount":163.009999999999990905052982270717620849609375},"340-0":{"id":"340","id_product":"340","id_category_default":"126","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ASEPXIA JAB\u00d3N PUNTOS NEGROS DE 100 G","category":"Tratamientos","category_name":"Tratamientos","reference":"0650240004643","supplier_reference":"","ean13":"0650240004643","price_amount":27.160000000000000142108547152020037174224853515625},"10027-0":{"id":"10027","id_product":"10027","id_category_default":"113","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PROAVENAL OMEGATOPIC LECHE EMOLIENTE DE 500 ML","category":"Emolientes","category_name":"Emolientes","reference":"7508006182582","supplier_reference":"","ean13":"0000000000000","price_amount":383.3600000000000136424205265939235687255859375},"2267-0":{"id":"2267","id_product":"2267","id_category_default":"110","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"LETI AT4 CREMA CON 200 ML","category":"Cremas","category_name":"Cremas","reference":"7501089804389","supplier_reference":"","ean13":"0000000000000","price_amount":446.8500000000000227373675443232059478759765625},"772-0":{"id":"772","id_product":"772","id_category_default":"126","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CICAPLAST CAUME B5 B\u00c1LSAMO MULTI-REPARADOR CON 40 ML","category":"Tratamientos","category_name":"Tratamientos","reference":"3337872412998","supplier_reference":"","ean13":"0000000000000","price_amount":196.93999999999999772626324556767940521240234375},"3082-0":{"id":"3082","id_product":"3082","id_category_default":"110","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PROAVENAL OMEGATOPIC CREMA EMOLIENTE PARA PIEL SECA CON 25O G","category":"Cremas","category_name":"Cremas","reference":"7508006182605","supplier_reference":"","ean13":"0000000000000","price_amount":426.6299999999999954525264911353588104248046875},"773-0":{"id":"773","id_product":"773","id_category_default":"126","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CICATRICURE GEL CARA Y CUERPO TUBO CON 30 G","category":"Tratamientos","category_name":"Tratamientos","reference":"0650240003974","supplier_reference":"","ean13":"0650240003974","price_amount":257.759999999999990905052982270717620849609375},"2941-0":{"id":"2941","id_product":"2941","id_category_default":"126","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PERSPIREX ANTITRANSPIRANTE SUDORACI\u00d3N EXCESIVA ROLL ON CON 25 ML","category":"Tratamientos","category_name":"Tratamientos","reference":"5701943011201","supplier_reference":"","ean13":"5701943011201","price_amount":441.16000000000002501110429875552654266357421875},"755-0":{"id":"755","id_product":"755","id_category_default":"39","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CETAPHIL JAB\u00d3N ANTIBACTERIAL DE 127 G","category":"Geles","category_name":"Geles","reference":"7502003560527","supplier_reference":"","ean13":"7502003560527","price_amount":112.2000000000000028421709430404007434844970703125},"756-0":{"id":"756","id_product":"756","id_category_default":"39","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CETAPHIL JAB\u00d3N DERMOLIMPIEZA DE 127 G","category":"Geles","category_name":"Geles","reference":"3499320008198","supplier_reference":"","ean13":"3499320008198","price_amount":110.68000000000000682121026329696178436279296875},"2716-0":{"id":"2716","id_product":"2716","id_category_default":"39","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"NOSOP DERMOLIMPIADOR JAB\u00d3N DE 80 G","category":"Geles","category_name":"Geles","reference":"7501089812094","supplier_reference":"","ean13":"0000000000000","price_amount":194.770000000000010231815394945442676544189453125},"10124-0":{"id":"10124","id_product":"10124","id_category_default":"2","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ASEPXIA TOALLITAS 2 EN 1 BOLSA CON 25 PIEZAS","category":"inicio","category_name":"Inicio","reference":"0650240004216","supplier_reference":"","ean13":"0650240004216","price_amount":73.280000000000001136868377216160297393798828125},"751-0":{"id":"751","id_product":"751","id_category_default":"110","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"CETAPHIL CREMA HUMECTANTE CON 250 G","category":"Cremas","category_name":"Cremas","reference":"7502003560565","supplier_reference":"","ean13":"7502003560565","price_amount":203.270000000000010231815394945442676544189453125},"398-0":{"id":"398","id_product":"398","id_category_default":"117","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"AV\u00c9NE AGUA TERMAL CON 300 ML","category":"Hidratantes","category_name":"Hidratantes","reference":"3282770930603","supplier_reference":"","ean13":"3282770930603","price_amount":323.83999999999997498889570124447345733642578125},"234-0":{"id":"234","id_product":"234","id_category_default":"120","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"AMINOTER SUPLEMENTO ALIMENTICIO ANTICA\u00cdDA CON 30 C\u00c1PSULAS","category":"Nutricosmeticos","category_name":"Nutricosm\u00e9ticos","reference":"7501124103590","supplier_reference":"","ean13":"7501124103590","price_amount":730.6299999999999954525264911353588104248046875},"1359-0":{"id":"1359","id_product":"1359","id_category_default":"121","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"ECLIPSOL BLOQUEADOR SOLAR 50+ FPS CON 125 G","category":"Protectores_solares","category_name":"Protectores solares","reference":"7502264950228","supplier_reference":"","ean13":"0000000000000","price_amount":329},"1136-0":{"id":"1136","id_product":"1136","id_category_default":"120","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"DERPIL 415 MG CON 32 C\u00c1PSULAS","category":"Nutricosmeticos","category_name":"Nutricosm\u00e9ticos","reference":"7501390914074","supplier_reference":"","ean13":"7501390914074","price_amount":630.1799999999999499777914024889469146728515625}}; // 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); } }