Configure Tulo Paywall - Compound paywalls¶
Target Audience: Users, Developers
Introduction¶
A compound paywall shows several paywalls side by side, for example three subscription levels next to each other. It is a list of 2–4 of the title's existing paywalls, in the order they are shown, with its own compound code.
Use the compound code exactly where you would use a paywall code: the pc claim in the JWT (Standard) or paywallCode (Lite). No other integration changes are required. Which paywalls are shown, their order and their placement are set in PAP, and changes show on the site at once.
| Paywall | Experiment | Compound paywall | |
|---|---|---|---|
| Shows | One paywall | One of its paywalls, per visitor | All its paywalls at once |
| Code | Paywall code | Experiment code | Compound code |
| Set up in PAP | Yes | Yes | Yes |
Requirements¶
- Compound paywalls need to be enabled by Adeprimo. Contact our support for more info.
- The paywalls must be active on the compound paywall's title.
- Only link paywalls and paywalls with an embedded shop can be included. Klarna checkout and Express Checkout paywalls cannot.
How it works¶
flowchart TD
R[The site asks for the compound code] --> E[Each paywall is checked, in order]
E --> B{Can the reader<br/>buy its offer?}
B -- No --> O[The paywall is left out]
B -- Yes --> D{Same product and period<br/>as a paywall already shown?}
D -- Yes --> O
D -- No --> S[The paywall is shown]
S --> N{How many are shown?}
O --> N
N -- "Two or more" --> C[Shown side by side or stacked]
N -- One --> P[Shown as a normal paywall]
N -- None --> F[The same error as for a single paywall]
- Each paywall keeps its own template, offer, price and purchase button. An order is linked to the paywall the reader bought from.
- There is no common header or footer: what is shown is what the paywalls' own templates contain. A paywall that should stand out, for example "Most popular", gets its own template.
- Readers who cannot buy a paywall's offer do not see it, see Customer eligibility.
- If two paywalls end up offering the same product and period to a reader, for example a campaign that falls back to its package, only the first is shown.
- A disabled compound paywall's code is treated as an unknown code.
Configure a compound paywall¶
Compound paywalls are managed in PAP under Marketing => Tulo Paywall => Compound paywalls.
- Select title. All paywalls must be active on this title. The title cannot be changed later.
- Set name. An internal name, e.g. "Subscription levels".
- Choose orientation. See Orientation.
- Add paywalls. Choose 2–4 paywalls and put them in the order they should be shown. A paywall can only be included once.
- Save. The compound paywall is created disabled and gets a unique compound code, which you can change. The code is unique among the organisation's paywalls, experiments and compound paywalls.
- Enable it when you are ready. Sites that ask for the code then show the paywalls.
An enabled compound paywall can still be edited: changes show at once on the sites that use its code.
Orientation¶
| Orientation | Shown |
|---|---|
| Side by side (default) | Left to right, in columns. When the area on the site is narrow, it becomes fewer columns, down to one. |
| Stacked | Top to bottom, always one column. |
Paywall protection¶
A paywall that is part of an enabled compound paywall:
- cannot be stopped or deleted
- cannot be changed so that it leaves the title, or becomes a Klarna checkout or Express Checkout paywall. This also applies to changes to its offer or template.
Other changes are allowed, and show at once in the compound paywall. The paywall list and the paywall page show when a paywall is part of an enabled compound paywall.
To stop or delete such a paywall, disable the compound paywall first or remove the paywall from it. Deleting a compound paywall does not affect its paywalls.
Using the compound code¶
Standard integration: set the compound code as the pc claim in the JWT:
{
"pc": "your_compound_code"
}
Lite integration: pass the compound code as the paywallCode initialization parameter:
TuloPaywall.init({
paywallCode: "your_compound_code",
// ... other parameters
});
The same container and Paywall Javascript and CSS versions as today are used. No layout of your own is needed.
Styling¶
The paywalls are placed in an element with the class paywall__compound, and each paywall is in its own paywall__compound-item. Your own CSS can override the layout, like the rest of the paywall.
The layout is part of Paywall CSS 1.5, the latest version (Standard and Lite). With an older version, the layout comes with the paywall itself instead.
Older Paywall CSS versions
If your site uses an older Paywall CSS version and its Content Security Policy does not allow inline styles, the paywalls are shown stacked, whatever orientation is chosen. Use Paywall CSS 1.5 to avoid this.
Scripts of your own in templates
The paywalls are shown on the same page. If you have added scripts of your own to a template, check that they still work when the template is shown more than once on a page.
What a compound paywall is not used for¶
- A compound paywall is only used by its code. The title's standard paywall, segments and experiments still choose a single paywall.
- A compound paywall cannot be part of an experiment or of another compound paywall.
Measuring results¶
A compound paywall counts as one paywall view in Engage BI. A purchase is counted for the product the reader bought. Please contact our support for more information.