{"id":11010,"date":"2024-09-02T18:13:51","date_gmt":"2024-09-02T18:13:51","guid":{"rendered":"https:\/\/help.fromdoppler.com\/es\/?p=11010"},"modified":"2024-10-24T12:24:09","modified_gmt":"2024-10-24T12:24:09","slug":"como-habilitar-notificaciones-push-con-vtex","status":"publish","type":"post","link":"https:\/\/help.fromdoppler.com\/es\/como-habilitar-notificaciones-push-con-vtex\/","title":{"rendered":"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Si tienes tu cuenta en <a href=\"https:\/\/app.fromdoppler.com\/signup?\">Doppler<\/a> integrada con VTEX, en este art\u00edculo aprender\u00e1s a configurar y enviar Notificaciones Push a los usuarios que visiten o tengan inter\u00e9s en tu Tienda Online.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Veamos c\u00f3mo se realiza paso a paso &#x1f642;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">En primer lugar, debes saber que necesitar\u00e1s crear un script que se ejecute en modo offline. Para este caso,\u00a0 <\/span><i><span style=\"font-weight: 400;\">Service Worker <\/span><\/i><span style=\"font-weight: 400;\">es un script que tu navegador ejecuta en segundo plano, independiente de la Web, permitiendo recursos como sincronizaci\u00f3n peri\u00f3dica, Notificaciones Push e incluso ejecuci\u00f3n en modo off-line.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Para crear el script vas a:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Dirigirte a la secci\u00f3n de Admin en tu cuenta en VTEX. Luego accede a <\/span><b>Configuraci\u00f3n de la tienda &gt; Escaparate &gt; Pagar<\/b><span style=\"font-weight: 400;\">, o escribe <\/span><b>Pagar<\/b><span style=\"font-weight: 400;\"> en la barra de b\u00fasqueda en la parte superior de la p\u00e1gina.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Cliquea en el icono <\/span><span style=\"font-weight: 400;\">&#x2699;&#xfe0f;<\/span><span style=\"font-weight: 400;\"> del sitio deseado.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">En la pesta\u00f1a <\/span><i><span style=\"font-weight: 400;\">C\u00f3digo<\/span><\/i><span style=\"font-weight: 400;\">, cliquea en el bot\u00f3n <\/span><i><span style=\"font-weight: 400;\">Nuevo<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Luego dir\u00edgete a la opci\u00f3n <\/span><i><span style=\"font-weight: 400;\">Archivo<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Completa el nombre del archivo exactamente como: service-worker.js.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Cliquea en el bot\u00f3n <\/span><i><span style=\"font-weight: 400;\">Crear<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Programa la funcionalidad.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a1Y no te olvides de guardar el procedimiento!<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Una vez que hayas avanzado los pasos anteriores, desde el Admin de VTEX puedes crear el script. A pesar de que el archivo se encuentra en <\/span><span style=\"font-weight: 400;\">\/archivos\/service-worker.js<\/span><span style=\"font-weight: 400;\">, recibe el header <\/span><span style=\"font-weight: 400;\">Service-Worker-Allowed<\/span><span style=\"font-weight: 400;\"> con valor <\/span><span style=\"font-weight: 400;\">\/<\/span><span style=\"font-weight: 400;\">, lo que permite interceptar requests desde la ra\u00edz del sitio.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">El nombre del archivo quedar\u00eda como service-worker.js y el contenido seria el que obtiene al descargar el service worker desde el panel de control de Doppler. Este archivo tiene de nombre <\/span><i><span style=\"font-weight: 400;\">firebase-messaging-sw.js<\/span><\/i><span style=\"font-weight: 400;\"> pero en VTEX deber\u00e1s ponerlo con nombre <\/span><i><span style=\"font-weight: 400;\">service-worker.js<\/span><\/i><span style=\"font-weight: 400;\"> (que es como lo espera esa plataforma)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a1Genial! Aprendiste a configurar tu cuenta integrada con VTEX para poder alcanzar a mayor audiencia con tus comunicaciones o recordar acerca de promociones o eventos especiales a partir de la instantaneidad que ofrecen las Notificaciones Push.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a1\u00c9xitos en tus Campa\u00f1as! \ud83d\ude42<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Si tienes tu cuenta en Doppler integrada con VTEX, en este art\u00edculo aprender\u00e1s a configurar y enviar Notificaciones Push a los usuarios que visiten o tengan inter\u00e9s en tu Tienda Online.\u00a0 Veamos c\u00f3mo se realiza paso a paso &#x1f642; En primer lugar, debes saber que necesitar\u00e1s crear un script que se ejecute en modo offline. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[486],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX? - Doppler Help Center<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX? - Doppler Help Center\" \/>\n<meta property=\"og:description\" content=\"Si tienes tu cuenta en Doppler integrada con VTEX, en este art\u00edculo aprender\u00e1s a configurar y enviar Notificaciones Push a los usuarios que visiten o tengan inter\u00e9s en tu Tienda Online.\u00a0 Veamos c\u00f3mo se realiza paso a paso &#x1f642; En primer lugar, debes saber que necesitar\u00e1s crear un script que se ejecute en modo offline. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.fromdoppler.com\/es\/como-habilitar-notificaciones-push-con-vtex\/\" \/>\n<meta property=\"og:site_name\" content=\"Doppler Help Center\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-02T18:13:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-24T12:24:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.fromdoppler.com\/wp-content\/uploads\/2019\/07\/share.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Diego Noya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.fromdoppler.com\/es\/#website\",\"url\":\"https:\/\/help.fromdoppler.com\/es\/\",\"name\":\"Doppler Help Center\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.fromdoppler.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.fromdoppler.com\/es\/?p=11010#webpage\",\"url\":\"https:\/\/help.fromdoppler.com\/es\/?p=11010\",\"name\":\"[:es]\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX?[:en]How to enable Push Notifications with VTEX?[:] - Doppler Help Center\",\"isPartOf\":{\"@id\":\"https:\/\/help.fromdoppler.com\/es\/#website\"},\"datePublished\":\"2024-09-02T18:13:51+00:00\",\"dateModified\":\"2024-10-24T12:24:09+00:00\",\"author\":{\"@id\":\"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/2ac3d715bfc244f7031ba82351677013\"},\"breadcrumb\":{\"@id\":\"https:\/\/help.fromdoppler.com\/es\/?p=11010#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.fromdoppler.com\/es\/?p=11010\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.fromdoppler.com\/es\/?p=11010#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.fromdoppler.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/2ac3d715bfc244f7031ba82351677013\",\"name\":\"Diego Noya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f5342f26c0bf49c80f7a58542eaba499?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f5342f26c0bf49c80f7a58542eaba499?s=96&d=mm&r=g\",\"caption\":\"Diego Noya\"},\"url\":\"https:\/\/help.fromdoppler.com\/es\/author\/doppleradmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX? - Doppler Help Center","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"es_ES","og_type":"article","og_title":"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX? - Doppler Help Center","og_description":"Si tienes tu cuenta en Doppler integrada con VTEX, en este art\u00edculo aprender\u00e1s a configurar y enviar Notificaciones Push a los usuarios que visiten o tengan inter\u00e9s en tu Tienda Online.\u00a0 Veamos c\u00f3mo se realiza paso a paso &#x1f642; En primer lugar, debes saber que necesitar\u00e1s crear un script que se ejecute en modo offline. [&hellip;]","og_url":"https:\/\/help.fromdoppler.com\/es\/como-habilitar-notificaciones-push-con-vtex\/","og_site_name":"Doppler Help Center","article_published_time":"2024-09-02T18:13:51+00:00","article_modified_time":"2024-10-24T12:24:09+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/help.fromdoppler.com\/wp-content\/uploads\/2019\/07\/share.png","type":"image\/png"}],"twitter_card":"summary","twitter_misc":{"Escrito por":"Diego Noya","Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/help.fromdoppler.com\/es\/#website","url":"https:\/\/help.fromdoppler.com\/es\/","name":"Doppler Help Center","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.fromdoppler.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/help.fromdoppler.com\/es\/?p=11010#webpage","url":"https:\/\/help.fromdoppler.com\/es\/?p=11010","name":"[:es]\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX?[:en]How to enable Push Notifications with VTEX?[:] - Doppler Help Center","isPartOf":{"@id":"https:\/\/help.fromdoppler.com\/es\/#website"},"datePublished":"2024-09-02T18:13:51+00:00","dateModified":"2024-10-24T12:24:09+00:00","author":{"@id":"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/2ac3d715bfc244f7031ba82351677013"},"breadcrumb":{"@id":"https:\/\/help.fromdoppler.com\/es\/?p=11010#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.fromdoppler.com\/es\/?p=11010"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.fromdoppler.com\/es\/?p=11010#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.fromdoppler.com\/es\/"},{"@type":"ListItem","position":2,"name":"\u00bfC\u00f3mo habilitar Notificaciones Push con VTEX?"}]},{"@type":"Person","@id":"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/2ac3d715bfc244f7031ba82351677013","name":"Diego Noya","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/help.fromdoppler.com\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f5342f26c0bf49c80f7a58542eaba499?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f5342f26c0bf49c80f7a58542eaba499?s=96&d=mm&r=g","caption":"Diego Noya"},"url":"https:\/\/help.fromdoppler.com\/es\/author\/doppleradmin\/"}]}},"_links":{"self":[{"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/posts\/11010"}],"collection":[{"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/comments?post=11010"}],"version-history":[{"count":4,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/posts\/11010\/revisions"}],"predecessor-version":[{"id":11014,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/posts\/11010\/revisions\/11014"}],"wp:attachment":[{"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/media?parent=11010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/categories?post=11010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.fromdoppler.com\/es\/wp-json\/wp\/v2\/tags?post=11010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}