Event-Based Integration

Introduction

The Event-Based Checkout Integration is the simplest and most flexible way to integrate tiun into your existing paywall or offer flow.

You directly trigger the tiun checkout via a lightweight JavaScript event from your existing paywall. This opens the tiun checkout as an overlay on top of your site.

You stay fully in control of design, wording, placement, and audience targeting of your offers — tiun only handles the checkout.

How it works

  1. You design and display your paywall offers

  2. A user clicks on an offer CTA

  3. Your code triggers the TIUN_START event

  4. The tiun checkout opens as an overlay

Your paywall design and structure remain exactly as-is.

Integration example

Once the tiun snippet is loaded on your page, triggering the checkout is as simple as:

You can attach this event to any interaction:

  • Button click

  • Link click

  • Card selection

Controlling offers & targeting

Because you fully own the paywall layer:

  • You decide which offers are shown

  • You decide when they are shown

  • You decide to whom they are shown

Examples:

  • Different offers for different user cohorts

  • Personalized offers based on engagement or content category

  • A/B testing offer combinations and wording

Customer showcase

Last updated

Was this helpful?