Ideas for Arc XP

Adding attributes to p.html

Add to the object , the following attributes reachable: paywallActive, paywallCounter and paywallProduct with the following values:

  • paywallActive: [true (*)|false] if the paywall is active on the current page. Same value as for web.

true: If the page being displayed complies with the rules (section, tag) for entering the paywall.

  • paywallCounter: [number of free articles remaining].

  • paywallProduct: [contracted offer SKU] ("no-suscriptor" if the user is not a subscriber) .

  • Guest
  • Aug 7 2020
  • Future consideration
  • Attach files