How to create a Protected Page
Restrict storefront URLs by customer segment, country or password.
Use Protected Pages to restrict specific storefront URLs.
This is the right choice for member-only/wholesale landing pages, hidden URLs, VIP access pages, and time-limited campaigns combined with secret product tagging.
When to use Protected Pages
Choose this tag type when the restriction is tied to a page or URL, not to a product or collection, unless you want an additional layer of password protection.
Protected Pages can either:
show a page only to a selected audience
hide a page from a selected audience
gate a page behind a password
Use cases:
members-only landing pages
hidden collection links
campaign pages
password-gated access pages
Before you start
Decide these settings first:
the exact URLs you want to protect
who should qualify
where blocked visitors should go
whether you also want a password
whether the rule should start or end automatically
If the page links to a restricted product or collection, plan that rule too.
Protected Pages controls access to a specific URL.
It does not hide the product URLs within this URL on its own. This is where secret product tagging may be more suitable.
Set up a Protected Pages tag
Add the URLs you want to protect
On the Protected Pages screen:
enter a clear Tag name
paste each URL under URLs
add one URL per line when possible
add multiple URLs if the same rule should apply to more than one page
use store-relative paths such as
/pages/loyaltykeep Status in Draft while you set up the tag

Choose who can access the URLs
In Customer Eligibility:
use The above pages are: to choose whether the selected audience should see the URLs
use only for to define who qualifies
add any required extra values, such as Shopify customer tags

The available audience options match the ones used in Secret Products:
all customers
logged in customers
logged in customers tagged with
logged in customers with order history
customers from specific countries
members
non-members
Add password protection if needed
In Password Protection, enable Require password to access the above pages if you want a password prompt.
Then set:
Lock Screen Title
Lock Screen Caption
Lock Screen Password
Lock Screen Background Color
Lock Screen Background Image

You can also combine it with logged-in or member-only access if needed.
Anyone with the password can access the URL, so share it carefully.
The lock screen uses your storefront theme styling, then applies the colours and image you set here.

Add a schedule if needed
In Active Dates:
set a Start date and Start time
enable Set end date if access should stop automatically
choose what happens after the schedule ends in When inactive, the selected pages are:
Scheduling only controls the protection rule.
It does not publish or unpublish the Shopify page for you.

URL tips
Use the same storefront path the customer will visit.
Examples:
/pages/vip-access/collections/private-drop/products/member-bundle
Add one path per line when possible.
Common use cases
Password-gated campaign landing page
Use password protection when you want to share access through email, SMS, or another campaign touchpoint.
In most cases:
The above pages are: Visible
only for: all customers
Password Protection: enabled
When the campaign ends, set When inactive, the selected pages are: to match the outcome you want.
Use Visible if the page should become public.
Use Hidden if the page should close again.
Password-gated access to a product or collection
Use Protected Pages for the gateway page.
Then create a matching Secret Product tag for the product or collection itself.
Without the product-side rule, the product or collection can still be reached directly.
Test before launch
Check all of these before you activate the tag:
the exact protected URL redirects when the customer should be blocked
the allowed customer can open the URL
the redirect destination is correct
the password works, if enabled
the schedule and inactive behavior match the outcome you want
Fix common issues
Related guides
Last updated

