---
updatedAt: 2025-04-03T21:40:16.000Z
agentTools:
  projectIndex: https://api.pushcrew.com/llms.txt
---

# Trigger Opt-Out

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']);

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