Menu Close

Setting up OneSignal for Mobile & Desktop Push Notifications Subscribe to WordPress

Email subscriptions and push notification subscriptions are essential for a stable and excellent wordpress site. This is similar to YouTube 's subscription notifications and the follow - up of SNS, which leads users to visit again. This is a good way to reduce traffic and search engine dependency.

Among them, push notification subscriptions are much more efficient than email subscriptions because they do not require an email address and are made with a single click, resulting in a much higher subscription conversion rate and persistence rate. Users who do not have the habit of checking e-mail will also have access to the cloud because they will have a message like Katok on their mobile, so the actual return rate will be even higher.

However, unlike e-mail subscription, push notifications are inevitably difficult to manufacture and operate by themselves, and maintenance costs are inevitable. Why did you make the GKKmon site, and what is the most important thing when setting up your blog? As you can see, it's not pleasant to use these dependencies on your site, but because there is no alternative at this time, I will use the one-service OneSignal, which is the most stable service in the field. If you do not really like to have dependencies like GKKmon, you might find it more effective to use the service in terms of ongoing updates, maintenance, and management tools and features.

    How to add OneSignal to your WordPress site

    Create OneSignal App

  1. To use OneSignal, you must first register. https://onesignal.com/ , You can create your own e-mail address, or you can link GitHub, Google, Facebook ID and so on. When subscribing directly, enter your Email Address, Password, Company or Organization Name, and name your organization as appropriate. When you click 'Create Account' button, you will receive an e-mail confirmation e-mail.
  2. So when you sign up, OneSignal Application Verification Page , Turn off the subscription notification, press the 'ADD APP' button on the top left corner, and write 'APP NAME' in the 'Add a New App' window and press 'ADD APP' to create it. It does not come from the push name, but from OneSignal.
  3. In the next 'Edit app' window, select 'Web Push' which is a chrome icon that we will use and proceed to 'NEXT'.
  4. Select 'Wordpress Plugin or Website Builder' in the second 'Choose Integration' menu.
  5. Then you will get the 'Select your website builder / cms' menu, select the first WordPress.
  6. Enter the information in the 'WordPress Site Setup' window that will be created. If you do not have your site name in 'SITE NAME' and your site address in 'SITE URL' (do not include slashes like https://gkkmon.com/ at the end, https://gkkmon.com like this) Required entries are completed. 'AUTO RESUBSCRIBE' is an automatic re-subscribe feature, which is available only on HTTPS sites. Upload icon to 'DEFAULT ICON URL'. It is an icon in the push message, and the size of 192x192 pixels is the optimal size. You can upload it directly, or you can import it from a URL or another site. The final "My site is not fully HTTPS" is a menu that should be turned on when my site is not fully HTTPS, but it is not an incomplete site that does not automatically redirect to 'HTTPS' Check if it is. When you are finished, press the 'SAVE' button at the bottom to complete.
  7. The 'Create WordPress Plugin' window will complete the creation of the app. Now you can install the OneSignal plugin in WordPress and type 'APP ID' and 'API KEY' on the screen. Keep the window open or copy and proceed to the next step.
  8. If you want to use the function in 'Apple Safari' browser which is used in Mac, press 'SAVE' button at the bottom to complete the setting. Then, click 'Apple Safari' in the 'Web Push Platforms' '.
  9. In the 'Configure Platform' window, enter the site name in 'Site Name' and the site address in 'Site URL'. The checklist at the bottom is skipped if it is an 'HTTPS' site. Press 'SAVE' to finish.
  10. Then you can confirm that the 'Apple Safari' menu is on and 'ACTIVE', click again.
  11. Unlike before, 'Web ID' is created, so copy this code as well. This code is 'Safari Web ID'.
    • Install the OneSignal plugin into WordPress and enter code

  12. Go to the WordPress admin page and install and activate the plugin with 'Plugin → Add New → OneSignal Search → Install → Activate'.
  13. When the installation is completed, the 'OneSignal Push' tab is added to the left tab. I choose. Red 'OneSignal Push: Your setup is not complete. Please follow the setup guide to set up web push notifications. I get an alert saying 'Both the App ID and REST API Key fields are required.'
  14. The 'Setup' tab tells you how to install and explain things.
  15. Enter 'APP ID' in 'App ID' field and 'APP API' in 'REST API Key' field in 'Account Settings'. If you have created 'Safari Web ID' before, even the Safari Web ID is entered and all default settings are complete. Pressing the 'SAVE' button at the bottom will bring up the OneSignal push notification to the site.

Congratulations on installation! You can use it as it is, but the more you customize the detailed settings, the more effective it will be and the user experience will improve. Because it is a detailed setting, the content is long, so proceed from the next page.

Comment (Information not required)

Posted in All, Wordpress

이메일 구독 - Email Subs

최선을 다해 직접 만든 콘텐츠만 공유합니다.
We share the best content we have created.