This API allows fine grain control over subscriptions of individual subscribers. It can be used to:

  1. Get current subscriber details (including unique subscriberID)
  2. Manually trigger opt-in boxes for subscribing to push notifications
  3. Add/remove subscribers from segments.

You must first put our smart code onto your website before you can do anything else.

You can use the queue _pcq to push events to the API.

Syntax:
window._pcq = window._pcq || [ ];