#Actions

Some actions (pageview, conversion, ...) need to be called explicitly.

#Options

#page-view

  • Type: String
  • Accepted values: 'page', 'free', 'premium', 'subscription'
  • Default: 'page'
This tells Poool that a reader has just visited the page.
⚠️ Remember: The first call to page-view will determine if Poool's paywall is displayed or not.

#conversion

This informs Poool that a reader has subscribed (e.g has been converted into a paid subscribed) through Poool's paywall.
In order to avoid false positives, we only send the conversion action when we send the first visit. Therefore, you'll need to put the call to conversion before the one to page-view.