Entry Filters
You can use entry filters to further specify when subscribers enter the campaign. There are two filters available, either a subscriber must belong to a segment, or the campaign checks whether the subscriber has entered a campaign (run) before. The campaign membership check has four available options:
- A subscriber may always enter a campaign run
- A subscriber may only be in one campaign run at a time (for page visit campaigns)
- A subscriber may only enter each campaign run once (for interval campaigns)
- A subscriber may only enter the campaign once
Note that for new subscriber event campaigns, you cannot configure the entry filters. Every new subscriber event - which typically occurs only once per subscriber - will enter the campaign.
For example, you could choose to only let subscribers based in Europe enter the campaign. Moreover, subscribers can only be active in one campaign run at a time.
Verify your setup
You can verify if you set everything up correctly by navigating to https://yourdomain.com/. If you see a push notification opt-in request, everything is working! That’s all, your website is now ready to send push notifications!
If you do not see an opt-in request, you can check whether the code snippet and javascript file were correctly added. Navigate to https://yourdomain.com/sw.js. Here you should find the following text:
importScripts('https://storage.googleapis.com/push-pro-java-scripts/pushpro-sw.js');
Next up, you can verify whether you correctly added the code snippet. On https://yourdomain.com/, right-click anywhere on the website and select “Page Source”. Here, you should find the following text:
<script></script>
window.__pushpro = {
site_uuid: "your-unique-identifier",
}
https://storage.googleapis.com/push-pro-java-scripts/pushpro-lib.js">