Triggerbee
Triggerbee is an on-site personalization and conversion platform that uses behavioural data to trigger campaigns, notifications, and lead capture.
Overview
Sesamy ships a built-in plugin that forwards authentication, paywall, and purchase events from sesamy-js to Triggerbee using the triggerbee.event() API.
Enabling
The plugin can be enabled per-publisher (in the server-side vendor config) or per-page via a URL query parameter:
html
<!-- Load the Triggerbee tracker first -->
<script src="https://your-triggerbee-tracker.example/loader.js"></script>
<!-- Then load the Sesamy bundle with the triggerbee plugin enabled -->
<script
type="module"
src="https://scripts.sesamy.com/s/YOUR_VENDOR_ID/bundle/stable?plugins=triggerbee"
></script>Multiple plugins can be combined: ?plugins=triggerbee,amplitude.
See the Triggerbee plugin reference for the full event mapping.
Events forwarded
- Logged in — fired on authentication, includes the user's email and Sesamy user id.
- Logged out — fired on logout, emitted without email or Sesamy user id.
- Purchase — fired on successful checkout, with revenue and currency.
- Paywall Access Checked / Product Selected / Content Unlocked — fired by the Sesamy paywall component.
Use cases
- Trigger Triggerbee campaigns based on subscription status
- Capture leads from anonymous visitors who saw a paywall
- Attribute on-site conversions back to upstream Triggerbee campaigns
Resources
- Website: triggerbee.com
- Event logging API: help.triggerbee.com
- Plugin reference: /api/scripts-host/triggerbee