For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prompt for Push

Request to send web push notifications to the authenticated user.

In order to send browser-based push notifications to your customers, you will need to request permission to do so. This command will display a system prompt for the user to grant access. You will also need to have the CrowdPower service-worker.js file installed in the root of your website.

<script>
  window.cp('push');
</script>

Last updated