Project overview
Terpli was built as a white-label experience that can be embedded into dispensary websites through a JavaScript script. The plugin manages the launcher, banners, iframe communication with the Flutter Web app, and session synchronization, while the application delivers personalized recommendations, reviews, product search, loyalty, and terpene intelligence. The solution was designed to work across multiple e-commerce platforms without requiring a bespoke implementation for every retailer.

Challenge
Integrate a rich recommendation and analytics experience into heterogeneous storefronts, each with different URL patterns, cookies, iframes, and cart events, while keeping rollout controlled per location and minimizing retailer engineering effort.
Solution
Implemented a configurable JavaScript layer with adapters for Dutchie, iHeartJane, Tymber, Dispense, LeafBridge, and RankReallyHigh, connected to a Flutter Web app using Clean Architecture, BLoC, feature flags, A/B testing, GA4, GTM/DataLayer, and React widgets for Alpine IQ Loops campaigns.
Tech Stack
- Flutter Web
- JavaScript
- Analytics
- Product Recommendation
- Experimentation
Technical scope
- JavaScript embed with Flutter Web app in an iframe
- GA4, GTM, and DataLayer tracking through e-commerce adapters
- Feature flags, banners, reviews, and store-level A/B tests
- AIQ Loops integration for campaigns and recommendations
