OneSignal supports sending web push notifications from a variety of different web technologies. Select Weebly to continue:
Once you've selected Weebly as your integration, you must fill out information about your site.
Most users just enter their base site URL for this field (e.g.
If your site is accessible from both www & non-www links (e.g.
www.example.com), please only enter the URL that you wish to send push notifications from. We recommend redirect traffic from one to the other (e.g. users that visit
example.com are redirected to
www.example.com), so that all your traffic only goes to one.
Recommended: This feature is only for HTTPS sites and if you do not select "My site is not fully HTTPS". This allows users to automatically resubscribe upon returning to the site without being prompted if they clear their browser cache or if you are transferring to OneSignal from another push provider.
Enter a link to an icon file that is at least 80x80 pixels. Recommended size is 192x192. The file must be
Weebly implementations must choose a unique label to be displayed in your notifications. For example, the below image shows notifications are coming from
Warning: You can only change your label if you have less than 100 web users. Once you have 100+ web users, this setting is disabled.
To send push notifications to users, you first must ask them for permission using a Prompt. You must have at least one Prompt on your site for web push to work. Click Add a Prompt to open the permission prompt selector.
In the Permission Prompt Editor, you can select which prompts you wish to use, and style them as you like. Once you have edited the prompt to your liking, click Save.
Subscription Bell - a small icon at the corner of your page that users can interact with to subscribe
Slide Prompt - a small modal that comes from the center of the page and asks if users are interested in signing up.
HTTP Pop-Up Prompt (HTTP-only) - a pop-up window that appears after other prompts that is required for HTTP sites.
Custom Prompts - create your own links or buttons as prompts.
Optional: Welcome notifications an optional way to thank users after subscribing to your site. Users will see a welcome notification as soon as they subscribe. You can edit or disable them here.
Optional: Most sites will not have to edit anything in Advanced options. See Web Push Advanced Options to learn more about each option.
Once you've completed steps 1-5, click 'Save' to save your configuration.
Next, you'll need to add OneSignal to your site by following step 6.
To enable OneSignal on your Weebly site, you will need to copy the code from Web Push Settings.
In your Weebly website editor, find your "Embed Code" element in your side panel under "BASIC".
Click and drag the element to an area of each page that you want to include OneSignal.
Click inside the element where it says "Click to set custom HTML" and "Edit Custom HTML".
Paste in the OneSignal code you copied above.
After clicking out of the "Embed Code" editor, you should see the OneSignal bell in the bottom right corner.
Continue these steps on each page you would like OneSignal to be used.
Publish your site and you are good to go!
You're all set up! See our Web Push Prompts page as well.
Updated about a year ago