This is used to show the user how he/she can opt out of push notifications. A modal box will open up with a screenshot showing how a user can unsubscribe.

The same is pushed into the global _pcq queue.

Parameters:

  1. triggerOptOut: Command to trigger OptOut.

Refer to the syntax below:

_pcq.push(['triggerOptOut']);

window._pcq = window._pcq || [];
_pcq.push(['triggerOptOut']);