Will the user receive push notifications only if they subscribe to the notifications?
Indeed, according to the GDPR, before sending any marketing notifications, the website owner has to receive the user's consent. The user can either click on the Allow button to complete the subscription and receive the notifications, or click on the Remind me later button to be reminded about such possibility later on.
Here is how the notification looks by default:
Our extension has Prompt (Subscription Pop-up) Settings section in the general configuration settings (Stores → Configuration → Amasty extensions → Push Notifications), where you can set:
the frequency of prompt display for the same customer (in order to remind of the possibility of receiving useful notifications)
the pages where prompt subscription pop-up will be displayed (you can choose either all of the pages or selected ones)
the text of the notification (you can make the text understandable and convincing the user to subscribe