Discussions

Ask a Question
Back to All

one click unsubscribe is not working

Hi Guys

I am using below code to unsubscribe notification.
_pcq.push(['triggerOptOut']);

user is not able subscribe again until they click twice on unsubscribe button even after page refresh.
suppose there is 2 button "subscribe" and "unsubscribe" which will display according to condition

Here is the flow
1). user click on subscribe button and allow notificaiton from pushcrew.com then display "unsubscribe" button
2). user click on unsubscribe button which open window with help image, user unsubscribe with help of browser window option then display "subscribe" button
3). user click on subscribe button again but it does not work untill user click on unsubscribe button again -> open browser window and close it

Please help me to track this issue,
Thanks in Advance