";
i.id = "GoogleAnalyticsIframe";
if ("MutationObserver" in win) {
new MutationObserver(function onDocumentChange() {
if (d.body) {
appendAnalytics(i, d.body.firstChild);
this.disconnect();
}
}).observe(d, { subtree: true, childList: true });
} else {
appendAnalytics(i, d.getElementsByTagName('script')[0]);
}
})(document, window);
";
i.id = "MelidataIframe";
d.body.appendChild(i);
var doc = i.contentWindow.document;
var script = doc.createElement('script');
script.type = 'text/javascript';
script.text ='window.inDapIF = true;';
doc.documentElement.appendChild(script);
} else {
// This page is charged async via AJAX and inserted into another one who has
// already download melidata js lib => Just clean the track
melidata("clean");
}
})(document,'https://http2.mlstatic.com/storage/melidata-js-sdk/js/3/0.5.11/melidata.min.js');
melidata("add", "id", "b42ca289-872e-443c-9bcb-c3d467e0a69e");
melidata("add", "path", "/search");
melidata("add", "server_id", "b42ca289-872e-443c-9bcb-c3d467e0a69e");
melidata("add", "application", {"version":"1.231.2","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLM","secured":{"encrypted":"0a4b03eb7b6f48cb59a77f320f86a751:65bd4abb8b58ba331b3f865ac242edd0c656db500e1f834f8588388a0c5c2c631a8ee5ac03c04b1b7ba876a6cac3f78f497bebbf15944e31ff5afff12572e062e587d5bf5fbf82cdbcf17424b7fb49569a7b21303a764ff0b791a18fd1b5ead6c033f0d747b806f27021c53076222a6e392f222081a1055245e641060e823117165c44caeb24632c1b9d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxMzQ3YjQzOC01MzU0LTQwNmYtYTcxNC00MmJhMTQxOTBkNmUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.5Tv8fkceN0laiNg1FLhfL6WJ2zjNcMdwGma0cLzDMJY"}});
melidata("add", "user", {"uid":"1347b438-5354-406f-a714-42ba14190d6e","user_tags":[],"privacy_consents":{"advertising":true,"traceability":true,"performance":true,"functionality":true}});
melidata("add", "device", {"platform":"/web/desktop","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"});
melidata("add", "platform", {"http":{"cookies":{"_d2id":"1347b438-5354-406f-a714-42ba14190d6e-n"},"headers":{"host":"www.motocity.mx","x-device-js":"true","x-request-id":"7593933c-24f6-4533-a5e3-2e5278a67ecb","x-d2id":"1347b438-5354-406f-a714-42ba14190d6e"},"http_url":"https://www.motocity.mx/cascos-cerrados_AGE*GROUP_6725189_BRAND_2553576_FiltersAvailableSidebar"}});
melidata("add", "experiments", {"searchAdsAdnProvider":"13391","search/price_with_taxes":"36642","frontend/assetsCdnDomainMLM":"DEFAULT","search/desktop-filters-results":"30860","search/polycard-search":"28918","frontend/assetsCdnDomainMLU":"DEFAULT","search/filtrable-size-intervention":"35922"});
melidata("add", "experiments_timestamp", "null");
melidata("add", "event_data", {"vertical":"CORE","query":"cascos cerrados","limit":50,"offset":0,"total":11,"category_id":"","category_path":[],"sort_id":"relevance","filters":{"AGE_GROUP":"6725189","seller_id":"47298263","BRAND":"2553576"},"displayed_filters":[{"id":"shipping","name":"Envío","type":"text","position":1,"values_quantity":1,"values":["fulfillment"]},{"id":"MAIN_COLOR","name":"Color principal","type":"list","position":2,"values_quantity":4,"values":["2450295","2450307","2450312","2450289"]},{"id":"HELMET_SIZE","name":"Tamaño del casco","type":"STRING","position":3,"values_quantity":9,"values":["13798904","15062266","209631","209630","209629","20919958","209632","24900743","209633"]},{"id":"HELMET_TYPE","name":"Tipo de casco","type":"STRING","position":4,"values_quantity":2,"values":["179591","179590"]},{"id":"MOTORCYCLE_RIDING_STYLE","name":"Estilo de conducción en moto","type":"STRING","position":5,"values_quantity":2,"values":["7639838","7639717"]}],"autoselected_filters":[],"view_mode":"GRID","results":["MLM2178515868","MLM1894656473","MLM1903787659","MLM861243696","MLM1908064355","MLM3068372302","MLM924007334","MLM924007540","MLM2034459049","MLM2939199764","MLM2034458017"],"alternative_items_info":[],"pricing_ipa_info":[],"billboards":[],"pads_info":{"has_pads":false,"tracelog":["mclics_off_cause=mclics_off;bs_blacklist;mshops","selected_filters=BRAND;AGE_GROUP"],"printed_info":[]},"printed_result":[{"item_id":"MLM2178515868","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM1894656473","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM1903787659","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM861243696","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM1908064355","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM3068372302","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM924007334","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM924007540","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM2034459049","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM2939199764","type":"ORGANIC","shipping_score":-1,"is_pum_price":false},{"item_id":"MLM2034458017","type":"ORGANIC","shipping_score":-1,"is_pum_price":false}],"catalog_product_id":"","backend_data":{"request_flow":{"origin":"backend"}},"promise_items":{"nextday":[],"sameday":[],"turbo":[]},"official_stores_carousel_shown":[],"user_zone":"","pdp_rows":[],"carousel_filters":[],"show_supermarket_carousel":false,"tracking_id":"3de175b1-1ca0-46ac-af4e-5d7137d8b7d7","pdp_grouped_search":false,"highlights_info":{"best_seller_info":{"candidates":0},"meli_choice_info":{"candidates":0},"apple_authorized_dealer_info":{"selected_quantity":0,"selected":[]}},"tag_tracking_info":{"crypto_cashback":[],"benefits":[],"best_seller":[],"deal_of_the_day":[],"more_like_this":[],"meli_choice":[],"promotions":[],"highlights":[],"lightning_deal":[],"shipping_guaranteed":[],"compats":[],"discount_volume":[],"next_day":[],"same_day":[],"supermarket_partnership":[]},"pdp_info":[{"id":"MLM19941575","score":1,"status":"shown"},{"id":"MLM22614608","score":1,"status":"shown"},{"id":"MLM23367714","score":1,"status":"shown"}],"location_info":{},"interventions":[],"containers_flow":"N/A","shop_id":"47298263","shop_name":"Motocity Store México","shop_domain":"www.motocity.mx","shop_status":"active","shop_type":"seller","shop_appearance":{"has_profile_header":false},"compats_info":{"applied_features":{"is_partially_indexed":"false","is_autocompleted":"false"}},"mostly_supermarket_results":true,"related_searches_info":{"quantity":0,"related_queries":[]},"canonical":{"url":"https://www.motocity.mx/cascos-cerrados_AGE*GROUP_6725189_BRAND_2553576","no_follow_tag":false},"landing":"base","layout_forced":false,"shown_as_product":[],"is_googlebot":false,"seo":{"allowlist":{"seo_is_allowlisted":true,"seo_apply_no_index":false,"search_no_index_applied":false,"results_by_strategy":{"search_default_is_not_meli":true}},"seo_experiments":{"status":"fallback","experiment_list":[]},"seo_related_searches":{"related_list":[]},"seo_external_experiments":{"experiment_list":[{"external_experiment_id":"POTTER","should_apply":false},{"external_experiment_id":"MAVERICK","should_apply":false}]}},"pdp_highlight_enabled":false,"user_profile_type":"BUYER"});
melidata("send", "view", {
path: "/search",
data: {}
}, "melidata");