UnoSignal is a fictional skate brand built as a demo site for OneSignal. Every product, model and athlete you see here is made up. The site is designed to show how a real ecommerce store would integrate with the OneSignal Web SDK to identify users, apply tags, and track custom events.
What this demo shows
Sign in on the account page to see how a user is identified with an External ID and their email subscription is created. Browse the shop and add items to your cart to see where Custom Events like add_to_cart, checkout_started and purchase_completed would fire. Tags such as cart_value, last_viewed_category and account_status are updated alongside those events so the visitor can be segmented in the OneSignal dashboard.
How it's wired up
The OneSignal Web SDK is loaded in the head of every page, and the init
call lives in js/onesignal.js. The hook points in
js/auth.js, js/cart.js and
js/main.js show where the identity and event calls belong.
Replace YOUR_ONESIGNAL_APP_ID in the init file with the App
ID from your OneSignal dashboard to bring it to life.