amp-access-pooolextensions within your page:
amp-accessconfiguration for Poool:
|Chrome||Firefox||Edge||Safari||Safari iOS||Chrome Android|
|29+||23+||18+||9+||iOS 10+||Android 8+|
data-poool-modeattributes from your page
<div id="poool-widget"></div>element from your page
flushbefore a new navigation event (ex:
beforeRouteLeavefor Vue, ...) to reset some configuration values back to their original value:
onSubscribeClickevents, you don't have to provide a login or a subsription URL to the paywall. You can also disable the default behavior of the login & subscribe buttons:
data-poool-modeattributes aren't yet available when the paywall script loads, the default configuration will be used.
wait_for_dom_loadconfiguration option which will wait for the
DOMContentLoadedevent of the browser to be fired before executing the paywall:
onErrorevent so that you can display a fallback paywall.