Consent screen
/dashboard/settings/consent-screen
The consent screen is a full-page age verification gate that visitors must accept before they can browse your website. It is meant for websites with adult content, where minors shouldn't be allowed.
Lite/Pro feature
The consent screen is available in Chevereto Lite and Pro. If CHEVERETO_ENABLE_CONSENT_SCREEN is set to 0, the consent screen is always disabled, whatever is set here.
How the consent screen works
The screen shows your favicon and website name over the cover image, followed by an adult content agreement and an I Agree button.
The agreement text is fixed and can't be edited from the dashboard. It is shown in the visitor's language, and the age it states is taken from Minimum age required, or 21 if that setting is empty.
When the visitor clicks I Agree:
- Chevereto sets an
AGREE_CONSENTcookie that lasts 30 days, and records the agreement in the visitor's session. - The visitor is sent back to the page they first asked for, so direct links to images and albums keep working.
After 30 days, or if the visitor clears their cookies, the consent screen is shown again.
Who sees it
| Visitor or request | Consent screen shown |
|---|---|
| Guest who hasn't agreed yet | Yes |
| Guest who agreed (cookie or session) | No |
| Logged-in user | No |
API requests (/api) | No |
While the consent screen is shown, these routes stay reachable so that visitors can still sign in: /login, /account (such as password reset), /connect (login providers), /captcha-verify and /oembed. Every other route, including /signup, shows the consent screen until the visitor agrees.
WARNING
Search engines and other crawlers don't accept the consent screen, so they see it instead of your content. Expect your pages to drop out of search results while it is enabled.
Enable consent screen
Toggles the consent screen for guests browsing the website.
| Value | Effect |
|---|---|
| Enabled | Guests must click I Agree before they can browse |
| Disabled | No consent screen is shown |
Default: Disabled.
When enabled, the Not safe content checkbox in uploader is hidden, as all the website content is treated as adult content.
Consent screen cover image
- Applies only if
Enable consent screenis set toEnabled.
Determines the background image of the consent screen. The image is centered and scaled to cover the whole screen, so parts of it may be cropped on screens with a different aspect ratio.
| Type | Recommended |
|---|---|
| Image | Landscape, <400KB |
The upload can't be bigger than your website's maximum upload file size. The image is saved to Site storage and replaces the previous one. A default cover image is used until you upload your own.
