Page Blocker
Block an entire page based on location
Overview

The page blocker component will take a comma-separated list of identifiers to make a calls to determine if the page should be blocked by a modal depending on the user location. You can manually set the location or by default this will be determined by the request ip lookup.
// custom defined tag
<bam-page-blocker
property-id="1"
identifiers="canda-compliance,another-identifier">
</bam-page-blocker>
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
buttonText | button-text | Set the button text seen on the snippet, defaults to “Take Me There” (optional) | string | undefined |
defer | defer | boolean | false | |
devMode | dev-mode | boolean | false | |
identifiers | identifiers | (required) This is a comma-separated list of identifiers w/ NO SPACES, see below. This will determine the specified compliance identifiers to check. | string | undefined |
location | location | (required) | string | undefined |
propertyId | property-id | (required) | number | undefined |