OneSignal – Web Push Notifications

Descrição

OneSignal é uma maneira fácil de aumentar o engajamento do usuário. Use OneSignal para enviar notificações direcionadas aos visitantes para que eles voltem sempre. Leva apenas alguns minutos para instalar.

As a WordPress VIP Gold Partner, OneSignal has been rigorously tested to handle even the highest volume use cases with reliability and ease of use.

Após a configuração, os visitantes optam por receber notificações push quando você publica uma nova postagem. Os visitantes recebem essas notificações mesmo depois de saírem do website, promovendo o reengajamento.

Você pode configurar a entrega de notificações em intervalos predefinidos, criar segmentos de usuários e personalizar o processo de aceitação dos visitantes.

OneSignal’s free plan allows targeting up to 10,000 subscribers with push notifications. Contact support@onesignal.com if you have any questions. We’d love to hear from you!

Empresa

OneSignal foi testado por mais de 600,000 desenvolvedores e estrategistas de marketing. Nós fornecemos notificações push para todos, desde pequenas empresas às mais fortes companhias, enviando 4 bilhões de notificações por dia. O plugin de notificação mais popular do WordPress com mais de 90,000+ instalações.

Recursos:

  • Suporta o Chrome (Desktop e Android), o Safari (Mac OS X), o Microsoft Edge (Desktop e Android), o Opera (Desktop e Android) e Firefox (Desktop e Android) em sites HTTP e HTTPS.

  • Notificações automáticas: Envie notificações aos seguidores sempre que publicar uma nova publicação. Ou configure um lembrete que será enviado automaticamente para eles se eles não tiverem visitado por alguns dias.

  • Segmentação de publico alvo: Envie notificações para visitantes específicos com base no idioma, no número de vezes que eles visitaram seu blog ou até mesmo configure seus próprios atributos de usuário que você pode segmentar.

  • Personalização Opt-In: Escolha quando e como solicitar que seus visitantes optem pelas notificações do navegador . Personalize o prompt exibido pela primeira vez.

  • Análise em tempo real: Veja suas notificações serem entregues em tempo real e observe-as à medida que elas são convertidas em visitantes.

  • Teste A/B: Experimente diferentes mensagens para um conjunto menor de visitantes para descobrir quais mensagens são mais eficazes e, em seguida, envie a mensagem mais eficaz para o restante de seus visitantes!

  • Notificações agendadas: Programe notificações para serem entregues no futuro, com base no fuso horário do usuário ou até mesmo na mesma hora do dia em que visitaram o website pela última vez.

Imagens de tela

  • Notifications on Chrome, Safari, Firefox, Opera, and more.
  • Nossas instruções detalhadas de configuração para você começar.
  • Nossa configuração principal da página de configuração.
  • Nossa página de usuários do painel OneSignal, onde você pode ver seus usuários inscritos .
  • Nosso painel OneSignal enviou uma página de notificações, onde você pode ver o status de suas notificações enviadas.
  • Nossa página de criação de notificações do painel OneSignal, com algumas das configurações do navegador disponíveis.
  • Opções de notificação de boas vindas do nosso OneSignal WordPress.
  • Nossa configuração do OneSignal WordPress para solicitar opções.

Instalação

  1. Instale o OneSignal a partir do diretório do plugin WordPress.org ou fazendo o upload da pasta do plugin OneSignal para o diretório wp-content/plugins.
  2. Ative o plug – in OneSignal a partir do seu painel de configurações do WordPress.
  3. Siga as instruções na página de configuração.

FAQ

OneSignal WordPress Plugin Setup Video

Avaliações

16 março, 2024
I'm ashamed of this plugin and this company, the only thing they do is send push messages to devices. Would it cost to leave the userId or ExternalUserID part minimally better developed?The way it is done is disgusting and the documentation is shamefully poorly written, on Google or YouTube there is nothing explaining this part better and only extremely advanced users will understand it. I'm embarrassed to go into this plugin's documentation and see that there wasn't the slightest effort to make something a little better written.
20 fevereiro, 2024
This app is working for years without any major issues. And it's free. Thank you guys
18 fevereiro, 2024
Shame that there is no option to place the notification icon on the top toolbar in the site - the only option is bottom left or bottom right.No good if you already have other elements in the same locations such as back to top arrow etc as the onesignal icon overlaps them. Other than that, nice plugih 🙂
4 fevereiro, 2024
All right, I had severe troubles setting it up for the first time. Didn't find it intuitive at first. How ever, when you first understand where to edit the prompts, everything is fine.
12 janeiro, 2024
This service provides several "Setup" types, including "Wordpress Setup", "Typical setup", etc. I first tried "Wordpress Setup", but it turned out that I cannot insert "Subscribe" buttons manually (where I need them in my blog pages). The only option was to use a ready-baked, always-visible, fixed-appearance "Bell" icon staying in the lower right of the screen. That didn't suit me so I went back and picked the "Typical setup". It was reasonably easy to set up, except that the relevant OneSignal documentation was a bit overwhelming and confusing to me, honestly. One thing the documentation didn't mention is that I had to disable the OneSignal WP plugin if I want the "Typical setup" thing. Otherwise things were broken, with no good error message. Now I have the "Typical setup" working, but apparently that doesn't let me auto-send notifications whenever I write a new WP blogpost. I guess I'll be doing this manually. Overall, setting all this up wasn't a smooth experience (though I got through it in about 3 or 4 hours which is okay).
Leia todas as 353 avaliações

Colaboradores e desenvolvedores

“OneSignal – Web Push Notifications” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

2.4.3

  • Fix SDK not loading (async issue)

2.4.2

  • Update OneSignal icons

2.4.1

  • Update “Tested up to” WordPress version 6.2
  • Fixed “OneSignal Push:There were no recipients…” error when there are subscribers
  • Fixed “OneSignal Slide Prompt” disabled setting not being respected

2.4.0

  • Remove recipient count after post publishing.

2.3.3

  • Update “Tested up to” WordPress version 6.1

2.3.2

  • Add nofollow robots HTML tag to prevent search engine crawling service worker scope

2.3.1

  • jQuery bug fix

2.3.0

  • Use onesignal_is_amp to allow filtering
  • Add additional sanitization to post titles
  • Add post_id in notification data payload
  • Fix jQuery issue leading to not showing the notice after post publish when automatic notifs are turned off

2.2.7

  • Update tested up to tag (6.0)

2.2.6

  • Add missing style sheets that should have been in previous version.

2.2.5

  • Adds AMP Support. Now works with the official AMP WordPress Plugin.

2.2.4

  • Update tested up to tag (5.9)

2.2.3

  • Includes minor (non-critical) security improvements to notification customization functionality

2.2.2

  • Update tested up to version to WP 5.8

2.2.1

  • Fixes error for missing OneSignalSDKWorker.js file

2.2.0

  • Service Worker scope change to non-root for new user installs

2.1.7

  • Update Tested Up To Version to 5.7

2.1.6

  • Adds support for customizing title and body of notifications with scheduled notifications.

2.1.5

  • Update of “Tested up to” value (WP 5.6). Removed unnecessary jQuery. Includes support for customizing the title and body of notifications. Fixed formatting issues related to apostrophe use.

2.1.4

  • Bug fix: adds check to prevent notifications for non-public post types

2.1.3

  • Update of “Tested up to” value (WP 5.5)

2.1.2

  • Obfuscation of REST API key in OneSignal configuration page to only show last 4 characters

2.1.1

  • Minor bug fixes: check native_prompt setting key exists, reworked checkbox logic to support custom post statuses

2.1.0

  • OneSignal config page interface changes to prompting options to discourage native prompt use, bug fixes

2.0.1

  • Bug fix: link expired issue due to failing nonce check when creating posts from other WordPress plugins

2.0.0

  • WordPress VIP support, general refactoring, bug fixes

1.17.9

  • Rolled back sending notifications on scheduled posts to be when its status changes to published

1.17.8

  • Added escaping to fields in OneSignal config to remove invalid characters, bug fixes

1.17.7

  • Fixed bug from 1.17.6 where updating old posts would result in 400 level errors

1.17.6

  • Fixed bug where scheduled posts would send notifications immediately, added Gutenberg support for scheduled notifications

1.17.5

  • Updated notice message to reflect changes to time limiter, removed extra newline from description

1.17.4

  • Changed time limiter to 2 minutes from 1 hour to ease restrictions on sending update notifications

1.17.3

  • Added debug to logging to responses with non 200-level status codes
  • Made notices unique
  • Bug fixes

1.17.2

  • Lengthened timeout, debugging tool, status-code bug fixes

1.17.1

  • Support for more detailed error messages

1.17.0

  • Bug fixes, edge-case handling, refactoring

1.16.16

  • Code to catch error where core/editor is not defined for old versions of the editor

1.16.15

  • WP5 notice support and error handling for errors arising from v 1.16.14

1.16.14

  • Substituir chamadas cURL com HTTP API

1.16.13

  • Added timestamp to allow re-pushing notifications upon editing an existing post after 1 hr

1.16.12

  • Reverted unchecking send notifcation on post publish

1.16.11

  • On WordPress 5.0 “Send notification on post publish” now unchecks after posting.
  • Added extra checks to ensure double notifications are not sent for the same post.

1.16.10

Updated plugin description and added FAQ section.

1.16.9

Reverting the UI changes for HTTP switch.

1.16.8

This release makes HTTP switch match the dashboard (renamed to “My site is not fully HTTPS”) and removes deprecation warnings for php 7.2.

1.16.7

Esta versão atualiza o service worker para usar um arquivo somente para funcionários de serviço 50% menor

1.16.6

Isso libera o problema em que, mesmo depois de salvar o formulário, o erro de não preencher os campos obrigatórios seria exibido porque as configurações da nova exibição de página foram carregadas antes que as configurações da página anterior fossem salvas. Além disso, um link do doc quebrado foi corrigido.

1.16.5

Essa versão altera a taxa limite de envio de notificações de, no máximo, uma a cada 10 segundos para, no máximo, uma a cada 1 segundo.

1.16.4

Esta versão remove os espaços iniciais e finais das caixas de texto ao salvar. Isso pode corrigir erros comuns, como colar o ID do aplicativo, a chave da API REST ou o subdomínio (também chamado de rótulo) com um espaço em branco final que normalmente causa erros.

1.16.3

Esta versão simplifica muito o guia de configuração para seguir nossa documentação, em vez de um guia embutido.

  • Atualizar arquivos auxiliares AMP para serem centralizados em vez de JavaScript embutido codificado

1.16.2

Esta versão atualiza os arquivos amp-helper-frame.html e amp-permission-dialog.html usados no ampl-web-push devido a alterações de permissão no Chrome 62.

  • Update readme para mostrar testado até 4.9 Release Candidate 2

1.16.1

Esta versão adiciona uma opção para desativar a mensagem “Enviou com êxito uma notificação para destinatários X”, e também inclui arquivos AMP web push (pode ser usado com outro plugin AMP) no caso de você decidir adicionar o AMP web push para seu site.

  • Adicionar opção “Mostrar mensagem de status após o envio de notificações”
  • Inclui amp-helper-frame.html e amp-permission-dialog.html para ser usado com AMP web push

1.16.0

Essa versão adiciona uma mensagem útil que mostra a contagem de pessoas que receberam a notificação após o seu envio. Depois de publicar um post, por exemplo, a caixa de informações pode dizer: “Notificação entregue com sucesso para 100 pessoas.”

  • Prioridade do wp_head hook diminuída de 5 para 10.

1.15.1

Essa versão conserta um erro da versão 1.15.0 que selecionava a opção “Desativar notificações automaticamente após 20 segundos”. A opção errada estava sendo selecionada e causava a aparição de um alerta.

1.15.0

Essa versão adiciona uma configuração para esconde notificando em dispositivos que utilizam plataforma MAC OS X.

  • ” Ignorar notificações automaticamente após ~ 20 segundos” foi substituído por “Ocultar notificações após alguns segundos” com um par de

    opções “Sim”, “Não”, “Sim no Mac OS X. Não em outras plataformas”. Anteriormente, as notificações persistiam em todas as plataformas, exceto no Mac OS X.

1.14.4

Esta versão restaura quatro arquivos de imagens ausentes no Guia de configuração incluído em nosso plug-in do WordPress (etapa 7 do Chrome e do Push do Firefox, etapa 2 do OneSignal Keys).

Nenhuma alteração de código foi feita neste patch.

1.14.3

  • Use ícones de tamanho maior para a imagem destaque.

    Pequenos ícones de notificação e imagens grandes usaram anteriormente a imagem enviada mais próxima do tamanho 80×80. Para um grande uploaded imagem sem

    variantes redimensionada, não haveria problemas. Mas para upload de imagens redimensionadas para diferentes tamanhos por WordPress , isso causou a imagem menor

    tamanho para ser selecionado e olhar embaçado. Os pequenos ícones de notificação agora usam a imagem mais próxima disponível para 192×192 para uma imagem mais nítida, enquanto

    imagens grandes usam a imagem mais próxima disponível para 640×480.

1.14.2

  • Atualizar a aba de configurações das imagens e textos

    Esclareça algumas etapas que normalmente são confusas para os novos usuários que estão configurando o plug-in, por exemplo, como obter o valor na caixa de texto Subdomínio.

1.14.1

  • Remover arquivo .htaccess

    As configurações do httpd.conf do Apache que não permitem opções customizadas de .htaccess resultarão em erro com um 500 se colocarmos este arquivo lá.

1.14.0

  • Atualizar o versionamento semântico; atualizar versão secundária para nova funcionalidade compatível com versões anteriores.
  • Ocultar o número do projeto do Google da configuração (usar um é desnecessário, pois fornecemos um número de projeto padrão)
  • Adicione a opção “Usar a imagem em destaque da postagem para imagem maior de notificação do Google Chrome” (consulte: https://goo.gl/uSDr5p)
  • Limite inferior da taxa de notificação de 55 segundos a 10 segundos. Contagem regressiva mostra o tempo restante (por exemplo, “Por favor, tente novamente em 6 segundos”)

1.13.9

  • Check in missing image to SVN: admin Configuration page HTTP Permission Request modal
  • Remove obsolete admin option “Show the OneSignal logo on the prompt”
  • Remove unused Bootstrap CSS/JS assets
  • Fix Prompt options custom language text not outputted for HTTPS sites (https://goo.gl/5Hi4HA)

1.13.8

  • Config page changes

1.13.7

  • Add rate limiting to prevent notifications from being sent too quickly; one notification can be sent every 55 seconds
  • Remove Preview Popup button; users can still follow the screenshot in the section header to match their customized
    values with the window their users will see
  • Add Configuration page UI option to show the slidedown permission message on HTTPS sites before the browser’s native
    permission request
  • Implement the HTTP permission request as the default for new sites (only for those who turn on Automatic prompting)
  • Clarify “Use my own SDK initialization script” –> renamed as “Disable OneSignal initialization”
  • Add a hidden page comment if users disable OneSignal initialization for easier debugging
  • Our plugin is in https://wordpress.org/plugins-wp but not https://wordpress.org/plugins. Hopefully resubmitting the
    plugin fixes it

1.13.6

  • Update style that was being overridden on some sites

1.13.5

  • Fix undefined index gcm_sender_id error
  • Do not resend notifications for posts restored from trash

1.13.4

  • Assign the script initialization variable OneSignal globally so initialization still works if plugins modify our
    inline script to be run from an external script file

1.13.3

  • A user reported the ‘prompt_auto_accept_title’ variable being undefined and causing issues with her site. This issue
    is now fixed.

1.13.2

  • Add proper WordPress action/filter hook for OneSignal init

1.13.1

  • The web SDK initialization of our plugin can now be fully customized
  • Removed the Intercom live chat support plugin from our plugin. Users can still email support+wp@onesignal.com.
  • Click Allow, Site Title, and the auto accept HTTP prompt title can now be customized
  • Spaces are removed when users save their Subdomain textbox value
  • The meta box checkbox “Send post on notification publish” now correctly does not send a notification if unchecked.
    Previously, there was a logic bug where users could check the box, initially save the post without publishing, and
    have a notification sent out when later publishing.
  • The default plugin tab is now “Setup” if the user is setting up for the first time, and if their App ID or REST API
    Key is blank (both values are required)
  • Correctly call has_post_thumbnail for WordPress versions below 4.4
  • Check for admin capabilities is done correctly so as to be compatible for users in stateless mode (DISALLOW_FILE_MODS)
  • Apostrophes and other HTML encoded entities are correctly decoded when using the HTTP prompt
  • Minor: Remove phantom tooltip linking to GCM page
  • Minor: site.css now has a source map

1.12.5

  • Fix broken documentation link

1.12.4

  • Add option to show GCM Project Number field

1.12.3

  • Bug fix for manifest.json GCM Sender ID

1.12.2

  • Remove Google project from the setup flow

1.12.1

  • Allow HTTP users to select “Automatically prompt…” to use the HTTP prompt
  • Improve setup documentation screens, add extra troubleshooting notices

1.12.0

  • Add admin UI to change notification title
  • Add admin UI to send to Android and iOS platforms (if available)

1.11.0

  • Add admin UI and filter for custom post types
  • Add filters for overriding post processing behavior
  • Add filter for overriding meta box send notification checkbox behavior
  • Add admin UI for adding UTM tracking code parameters (notification URL parameters)
  • Add admin UI for hiding notify button after subscription
  • Fix Preview Popup not displaying correctly if an ‘https://subdomain.onesignal.com’ Subdomain textbox value is used
  • Display visible error message if notification fails to send
  • Updated Google Project Setup guide
  • Fix poorly named global function that is conflicting with another template’s global function

1.10.6

  • Push notifications should now be sent out for posts created in the default WordPress editor if scheduled, being edited, or awaiting publication

1.10.5

  • Change console.developers.google.com setup URL –> console.cloud.google.com
  • Modify onesignal_send_notification filter hook to also allow notifications to not be sent

1.10.4

  • Enable PHP error logging by file

1.10.3

  • Fix on_save_post function not being declared statically
  • Fix other PHP warning about property not existing

1.10.2

  • Forgot to add onesignal-utils.php

1.10.1

  • Automatic sending functionality has been rewritten

1.10.0

  • Fix scheduled notifications to be more reliable by associating data with the post’s metadata and rewriting the send notification logic
  • Modified the WDS Log plugin to log OneSignal-related things; WDS Log plugin must be installed to view
  • Add a filter hook for to modify the data we post to create notifications API to allow customizing of notifications
  • Fixed Configuration page saving so that a user can choose to only use the Safari platform and skip the Chrome subdomain

1.9.2

  • Make WordPress plugin compatible with PHP v5.2.4
    • Using workaround for constant ENT_HTML401 not defined in < PHP 5.4 used in decode_html_entity

1.9.1

  • Relax subdomain validation now that the web SDK auto-corrects almost-valid values

1.9.0

  • Add Henkler’s contributions to WordPress plugin:
    • Allow notification dismissal by Chrome’s persistNotification flag
    • Allow featured image to be used as notification icon

1.8.2

  • Restore ‘Automatically send notifications using 3rd party post editors’

1.8.1

  • Clarified subdomain instructions to not include “.onesignal.com”
  • Improved support for HTML encoded entities

1.8.0

  • Add bell color customization
  • Add bell offset position customization
  • Add initial support for custom post types

1.7.3

  • Including missing CSS file

1.7.2

  • Fix settings for initial user showing an error for WordPress function get_option()

1.7.1

  • Organized and clarified plugin settings
  • Add screenshots to plugin description

1.7.0

  • Fixed error reporting being enabled in version 1.6.0
  • Rebranded bell widget to notify button
  • Minor fixes to functions that would error but are silent because error reporting is usually disabled
  • Update default settings

1.6.0

  • Added interactive bell widget for site visitors to manage push notification subscription
  • Improved toggle button text readability

1.5.0

  • Opção adicionada para enviar uma notificação de boas-vindas aos novos visitantes do site
  • Removido {modalPrompt: true} como o método de prompt padrão para sites HTTPS; o prompt do navegador nativo é mais uma vez o padrão
  • Adicionado opção para usar o prompt modal em vez do método de prompt nativo
  • Popup settings now display for both HTTPS modal users and HTTP prompt users

1.4.0

  • Adicionado opção para desativar a solicitação automática para novos visitantes se inscrever para as notificações push

1.3.2

  • Correção do salvamento das configurações quando o subdomínio vai de determinado para vazio. O administrador JS agora usa jQuery em vez de $.

1.3.1

  • Caixa de diálogo do prompt de pop-up HTTP fixo para não exibir valores vazios se as opções de configuração não forem definidas

1.3.0

  • Adicionado configurações pop-up para localizar o texto do prompt. Fontes atualizadas para renderizar melhor no Firefox e no Safari.

1.2.0

  • Redesenho gráfico do plugin. Instruções muito melhores.

1.1.1

  • A inicialização da biblioteca OneSignal agora ocorre independentemente de o evento window.onload ainda não ter sido disparado ou já ter sido disparado.

1.1.0

  • Adicionado suporte ao Safari Mac OSX.

1.0.8

  • Os caracteres UTF-8 nos títulos das postagens agora são exibidos corretamente nas notificações.
  • Corrigido o erro onde o manifest.json não estava sendo criado para sites HTTPS devido a permissões.
  • Agora se adapta ao uso de HTTPS para arquivos de trabalhadores de serviços se as configurações do WordPress não estiverem corretas.

1.0.7

  • Corrigido o erro em que alguns plug-ins que criavam postagens não enviavam automaticamente notificações do OneSignal quando “Todas as postagens criadas a partir de outros plug-ins” estavam ativadas.
  • Fixed errors that display when ‘WP_DEBUG’ is set to true

1.0.6

  • Added Automatic Push Notifications option for ‘All Posts created from other plugins’ on the “Notification Settings” tab.
    • Note, this is on by default for new installs but off of existing ones so behavior does not automatically change when you update.
  • Fixed errors with missing images.

1.0.5

  • Send notification on post is now available to any WordPress user with permissions to create or edit posts.

1.0.4

  • Notifications sent with the Automatic Push Notifications on Post feature directly link to the post instead of the homepage when opening the notification.
  • Updated GCM instructions and added HTTP subscribe link/widget instructions on the Getting Started tab.

1.0.3

  • Fixed compatibility issue with PHP versions older than 5.3.0
  • For HTTPS sites a modal dialog is shown before the native Chrome Notification permission prompt.

1.0.2

  • Fixed bug with OneSignal not getting initialized in some cases.
  • Now omits extra unneeded manifest link from the head tag when using HTTP.
  • Clicks handler added to elements with the class OneSignal-prompt are now setup in a more compatible way.

1.0.1

  • Modified description

1.0.0

  • Initial release of the plugin