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"
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());

P-Q-R-S-T

P-Q-R-S-T

Filtros activos

// 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":12,"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 = {"2873-0":{"id":"2873","id_product":"2873","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PAROXETINA 20 MG CON 10 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"0780083146665","supplier_reference":"","ean13":"0000000000000","price_amount":39.96000000000000085265128291212022304534912109375},"2921-0":{"id":"2921","id_product":"2921","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PENTOXIFILINA 400 MG CON 30 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7501349028487","supplier_reference":"","ean13":"0000000000000","price_amount":78.8799999999999954525264911353588104248046875},"2947-0":{"id":"2947","id_product":"2947","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PHENDEX \u00d3TICO CON 10 ML","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502001162693","supplier_reference":"","ean13":"0000000000000","price_amount":54.00999999999999801048033987171947956085205078125},"2958-0":{"id":"2958","id_product":"2958","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PISACA\u00cdNA 2% FRASCO \u00c1MPULA CON 50 ML","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7501125112881","supplier_reference":"","ean13":"0000000000000","price_amount":78.7600000000000051159076974727213382720947265625},"3017-0":{"id":"3017","id_product":"3017","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PRAVASTATINA 10 MG CON 30 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502009741470","supplier_reference":"","ean13":"0000000000000","price_amount":64.7999999999999971578290569595992565155029296875},"3032-0":{"id":"3032","id_product":"3032","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PREDNISONA 5 MG CON 20 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7501349028494","supplier_reference":"","ean13":"0000000000000","price_amount":20.28999999999999914734871708787977695465087890625},"3105-0":{"id":"3105","id_product":"3105","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"PROPAM 40 MG CON 14 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7501349028364","supplier_reference":"","ean13":"0000000000000","price_amount":39.61999999999999744204615126363933086395263671875},"3139-0":{"id":"3139","id_product":"3139","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"RAAMCINET 10 MG CON 10 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502227872123","supplier_reference":"","ean13":"0000000000000","price_amount":32.8299999999999982946974341757595539093017578125},"3367-0":{"id":"3367","id_product":"3367","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"SERTRALINA 50 MG CON 14 TABLETAS","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7501142989428","supplier_reference":"","ean13":"0000000000000","price_amount":312.94999999999998863131622783839702606201171875},"3456-0":{"id":"3456","id_product":"3456","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"SILDENAFIL 100 MG CON 1 TABLETA","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502216796836","supplier_reference":"","ean13":"0000000000000","price_amount":24.489999999999998436805981327779591083526611328125},"3457-0":{"id":"3457","id_product":"3457","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"SILDENAFIL 100 MG CON 1 TABLETA","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502216804029","supplier_reference":"","ean13":"0000000000000","price_amount":11.2799999999999993605115378159098327159881591796875},"3458-0":{"id":"3458","id_product":"3458","id_category_default":"753","id_manufacturer":"0","id_product_attribute":"0","cache_default_attribute":"0","name":"SILDENAFIL 100 MG CON 1 TABLETA","category":"P-Q-R-S-T","category_name":"P-Q-R-S-T","reference":"7502216804043","supplier_reference":"","ean13":"0000000000000","price_amount":8.7799999999999993605115378159098327159881591796875}}; // 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); } }