Dom
Forum Replies Created
-
Hi laetitia!
Our WordPress plugin provides a meta box on each post with checkboxes that, when clicked, will auto-send notifications when you publish and save a post.
In the plugin settings, you can select to have these checkboxes checked or unchecked automatically.
Details on this behavior documented here: https://documentation.onesignal.com/docs/web-push-wordpress-faq#automatically-check-or-uncheck-the-send-notification-checkbox-by-default
Let us know if you have any additional questions at [email protected] and we’ll get back to you shortly!
Thanks
DomForum: Plugins
In reply to: [OneSignal - Web Push Notifications] Compatible 5.9.1 or 6 and GutenbergHi laetitia!
Yes, there is OneSignal support for these releases! And we have a guide on debugging with Gutenberg here:
https://documentation.onesignal.com/docs/troubleshooting-wordpress-web-push#debugging-with-gutenberg
Please let us know if you have any other questions and feel free to reach out to [email protected] with any other questions as we have staff checking tickets daily for faster responses!
Thanks
DomHi there,
You can absolutely have OneSignal only show the prompt on particular pages! We have a guide on how you restrict to certain pages in our documentation here:
If you have any questions or troubles in setting this up, feel free to reach out to [email protected] where we generally are able to reach out quicker!
Thanks
DomForum: Plugins
In reply to: [OneSignal - Web Push Notifications] Send Notification on a specific dateHi there,
Yes! This is definitely doable, and we have instructions how to use wordpress scheduler in combination with OneSignal in our documentation here:
If you have any questions on this or need any assistance in setting it up, please feel free to reach out to [email protected] for quicker support!
Thanks
DomForum: Plugins
In reply to: [OneSignal - Web Push Notifications] Bell not showingHi there!
I took a look at your site and I see that you are receiving an error regarding a content security policy blocking some styling. This could cause the issue of your bell not appearing.
Google Tag Manager requires you to allow a number of things: inline scripts, inline eval() use, and inline styles. A Content Security Policy (CSP) is something that you configure through GTM.
Check out this article for more information
Please let us know if that helps sort your issue out and if you have any other questions, please reach out to [email protected] and we’d be happy to look into this further!
Thanks
DomHi there,
Going to your website, I’m met with this error in your console:
Uncaught (in promise) f: OneSignal: This web push config can only be used on https://www.swarajyadigital.com. Your current origin is https://swarajyadigital.com. at Function.checkRestrictedOrigin (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151512:1:242683) at Function.<anonymous> (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151512:1:242243) at Generator.next (<anonymous>) at r (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151512:1:716)
You will need to create a new OneSignal app that is configured for “https://swarajyadigital.com/” without the “www.”
Changing domain, even changing http to https or www to non-www, will require a new OneSignal App Id because of the same origin policy for Web Push subscription. Browsers do not allow subscribers to be transferred to a new origin.
We recommend you continue sending push to subscribers on the current OneSignal App and setup a new OneSignal app for the updated site origin. A common practice is to setup a temporary “Subscribe” page which explains the old site is moving to this new site and ask to subscribe to this new site. We see more success when some kind of incentive is provided like a discount or free trial.
More details and recommendations in our Web Push Setup FAQ: https://documentation.onesignal.com/docs/web-push-setup-faq#how-do-i-change-my-domain
Please let us know if you have any additional questions by email our support team at [email protected]
Thanks,
DomHey there @kraemit!
Yes if a user opts in to receive notifications from your site, so long as the custom post type doesn’t lack the necessary meta data our plugin uses to send the push notification, you should be able to set this up with the Order statuses: shop_order_status woocommerce custom post type.
Just make sure to follow along with our guide that I provided in the last message. If you run into any issues during the setup, you can reach the support team and get a response quickly by using the support email I sent before!
Hope this information is helpful to you, and of course feel free to reach back out!
Thanks,
DomHi there,
I checked your site, was able to subscribe and see myself in your dashboard, so it would appear that your set up is correct. In regards to the notifications not showing, the most common reasons for not getting push on web are:
turning off notifications at the Operating System level
a bad internet connection
your device is not subscribed or targeted for the push notification.
For almost all other reasons please see our Web Push notifications not shown guide
To test your site, please follow this guide to get your player id and send yourself a notification: https://documentation.onesignal.com/docs/notifications-not-shown-web-push#debugging-web-push-notifications
If still having issues, please reach out to [email protected]
We can then provide faster proper assistance.
Thanks!
Hi there,
In order for a user to be subscribed to push notifications, they will need to allow notifications on the prompt that is shown on your page. It is best practice to show this prompt when the user first enters your site, but there can be changes made if you do want to only show the prompt on a specific page, like the checkout.
More info on that can be found in the docs here:
https://documentation.onesignal.com/docs/web-push-wordpress-faq#how-to-restrict-the-onesignal-wordpress-plugin-to-certain-pagesIn regards to the order status getting sent to the customer, It is something we are looking into adding, but no ETA on when yet.
You can actually setup OneSignal to do this by adding the custom post type to the plugin: https://documentation.onesignal.com/docs/web-push-wordpress-faq#for-posts-created-from-3rd-party-plugins
Or using our API directly, some details on hooking into the plugin here: https://documentation.onesignal.com/docs/web-push-wordpress-faq#customizing-wordpress-plugin-behavior
Unfortunately these features are not “out of the box” which is what we are looking into.
If you have any further questions, for faster support, please reach out to our support team at [email protected] or through the intercom link in the bottom right corner of our documentation or onesignal.com dashboard. Happy to help!
Forum: Plugins
In reply to: [OneSignal - Web Push Notifications] WPML translation for popup textHello,
Our current WordPress plugin is not geared to handle multiple languages for prompts or sending notifications at this time.
You can achieve this by adding the OneSignal code to your site directly using our Custom Code setup https://documentation.onesignal.com/docs/web-push-custom-code-setup
?
We currently do not have a way to change the OneSignal prompt’s language depending on the browser language. However, there are a couple options you can do to work around this:1 – If you use a OneSignal prompt, like the slide or bell, you can use the Custom Code Setup and initialize OneSignal with the language you detect on your site. Here is a stackoverflow if you need assistance detecting browser language: https://stackoverflow.com/questions/8199760/how-to-get-the-browser-language-using-javascript
Example code for the prompts: https://documentation.onesignal.com/docs/web-push-custom-code-examples#section-web-push-prompts
2 – if you have an HTTPS site, you can use the native browser prompt, which will translate to the browser settings. This will not work with the OneSignal prompts, like the bell or slide.
You can send notifications in different languages using our dashboard.
Please see Creating Notifications in Multiple Languages at https://documentation.onesignal.com/docs/language-localization#section-supported-languages
?
If you need help with any of these settings or have any other questions, feel free to reach out to [email protected]Thanks
Hi Rodrigo!
Yes we just tested this out with the latest version of PHP and WordPress to be sure and it is all working as expected.
If you have any other questions or need help on the setup, feel free to reach out to [email protected]
Thanks,
DomForum: Plugins
In reply to: [OneSignal - Web Push Notifications] OneSignal not workingHi there,
I checked the website and subscribed to your notifications. All is working well from what I can tell looking at the console log. I checked your app dashboard and noticed that the message that failed was sent to subscribed users, but only one user was subscribed successfully on the 23rd of December. If this user subscribed after sending the push, it might have been targeting no one.
If you try to target your subscribed audience now, seeing as there are more users populating it, you should be able to send to them successfully!
Please let us know if you encounter any more issues, or have any more questions about the set up with your notifications by reaching out to [email protected]
Thanks!
DomForum: Plugins
In reply to: [OneSignal - Web Push Notifications] Prompt button text not centeredHey Bertrand,
Are you using custom CSS to change the styling of the slidedown? Looks like the .slidedown-button selector in your CSS is using
display: flex
. If you addalign-items: center
as a property to that class, they should align themselves vertically in the center of the button!Hope that helps!
Dom